How to set router configuration properly?

Score
0
Vote Up
April 5, 2011 at 10:46:25 Pacific
Specs: Windows 7

hi,

i want to put local working apache server behind the edimax router.

so i check Enable Port Forwarding and add it:

Current Port Forwarding Table:
1 192.168.2.100 TCP+UDP 80

i check it and restart it and is not working. how to do it now?


Reply ↓  Report •


#1
Vote Down
Score
0
Vote Up
April 5, 2011 at 10:54:22 Pacific

Are you able to surf your apache web server locally at the server machine by typing http://127.0.0.1 ?
If so, try the same with the servers local ip address, e.g. 192.168.2.100.

Report back the result.

Click Here on HowTo ask good Question to get best Help
Let us know, if the problem is solved !!!


Reply ↓  Report •

#2
Vote Down
Score
0
Vote Up
April 5, 2011 at 11:32:45 Pacific

Yes, them are working.
Do you know what to see next?
How to see where is the problem?

Reply ↓  Report •

#3
Vote Down
Score
0
Vote Up
April 5, 2011 at 11:41:16 Pacific

Next you should check, whether the port 80 is open for access from the internet.
Therefore, you can use an online port scanner and check port 80 on your current public ip address.
You can use this one:
http://www.t1shopper.com/tools/port...

Click Here on HowTo ask good Question to get best Help
Let us know, if the problem is solved !!!


Reply ↓  Report •

#4
Vote Down
Score
0
Vote Up
April 5, 2011 at 11:52:25 Pacific

The ip was automatic detected and i see "isn't responding on port 80 (http).".
That online tool is a good tool.
(to not have unclarified things, i have "Listen 80" in httpd.conf)
What to do next?

Reply ↓  Report •

Related Posts

#5
Vote Down
Score
0
Vote Up
April 5, 2011 at 12:03:35 Pacific

You don't say what particular model you have, but I note that some Edimax routers offer "Virtual Servers" in addition to "Port Forwarding". I'm not quite clear what the distinction is, but perhaps you should try setting up a Virtual Server pointing to the machine hosting the web server (if your router provides that option).

Reply ↓  Report •

#6
Vote Down
Score
0
Vote Up
April 5, 2011 at 12:23:04 Pacific

These are the informations:
Model Broadband Router
Hardware Version Rev. A
Boot Code Version 1.0
Runtime Code Version 3.15

Im trying the "Virtual Server" in a few moments...

I enabled and added:
Current Virtual Server Table:
NO. Private IP Private Port Type Public Port Comment
1 192.168.2.100 80 TCP+UDP 80

I checked in explorer and at http://www.t1shopper.com/tools/port... and is the same result.

If without router is working i cant see why there are difficulties now.

What can i do now?


Reply ↓  Report •

#7
Vote Down
Score
0
Vote Up
April 5, 2011 at 12:41:58 Pacific

Silly question, but do you have a firewall on the machine hosting the web server (what OS is it running)? And, if so, does place any restrictions on port 80?

Reply ↓  Report •

#8
Vote Down
Score
0
Vote Up
April 5, 2011 at 12:52:01 Pacific

Yes, is on Win 7.
It was setted by me to allow apache to use TCP and UDP at any local port, remote port, users and computers (behind router and without router).

I restarted and still nothing.

How to resolve the problem?


Reply ↓  Report •

#9
Vote Down
Score
2
Vote Up
April 5, 2011 at 13:41:38 Pacific

You might want to try turning your Windows firewall off completely, just for a minute, to check if that is the problem. It probably isn't, but it wouldn't hurt to try. I find that sometimes firewalls aren't doing quite what I think they should be doing.

Reply ↓  Report •

#10
Vote Down
Score
0
Vote Up
April 5, 2011 at 14:45:24 Pacific

Can you access the apache from another computer in your network, by using the servers local ip address 192.168.2.100 ?

If yes, the problem is not local firewall at the server, but at the router.
If you try to access the server from a machine inside your network to the public ip address of the router, it mostly will not work.
Therefore, you should use the online port scanner, to make sure, that the port is shown as open.

Click Here on HowTo ask good Question to get best Help
Let us know, if the problem is solved !!!


Reply ↓  Report •

#11
Vote Down
Score
0
Vote Up
April 5, 2011 at 23:56:50 Pacific

Not necessarily true. Firewall rules may be different for access from the local network and the Internet. The Windows 7 firewall certainly allows this. The best way to check whether it is the local firewall is to turn it off and see what happens.

Reply ↓  Report •

#12
Vote Down
Score
0
Vote Up
April 6, 2011 at 04:04:56 Pacific

I turned the firewall off and now is working.
The purpose of the router was to switch from one computer with linux server(24h/day) to two computers, one linux(12h/day), second win 7(12h/day).

I now have to try the second os and if i have problems i will post.

Thanks.


Reply ↓  Report •

#13
Vote Down
Score
0
Vote Up
April 6, 2011 at 05:15:42 Pacific

That's good.

Now that you have established that it was the firewall you can configure the firewall to let port 80 trhough. Have a look in "Advanced Settings" and see if you can see the rules pertaining to port 80, http, or IIS. There must be something there that allows port 80 on the local network but not the Internet. All you need to do is to modify this rule to apply to all connections, or create a new one that does so. On the other hand, as you are already running a firewall on your router you may consider it unnecessary to also run one on the server.


Reply ↓  Report •

#14
Vote Down
Score
0
Vote Up
April 6, 2011 at 13:47:58 Pacific

yes, is working also with the firewall on.
i put a rule to allow 80 at "inbound" and i think thats enaugh.
i also deactivate "virtual server" and let only TCP at the router conf at port forwarding.

Reply ↓  Report •

Reply to Message Icon Start New Discussion
« no packets received How to config wireless ro... »

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.

Ask the Community!
Describe your Problem
Example: Hard Drive Not Detected on My PC