How to set router configuration properly?

April 5, 2011 at 10:46:25
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?


See More: How to set router configuration properly?

Report •

#1
April 5, 2011 at 10:54:22
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 !!!


Report •

#2
April 5, 2011 at 11:32:45
Yes, them are working.
Do you know what to see next?
How to see where is the problem?

Report •

#3
April 5, 2011 at 11:41:16
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 !!!


Report •

Related Solutions

#4
April 5, 2011 at 11:52:25
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?

Report •

#5
April 5, 2011 at 12:03:35
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).

Report •

#6
April 5, 2011 at 12:23:04
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?


Report •

#7
April 5, 2011 at 12:41:58
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?

Report •

#8
April 5, 2011 at 12:52:01
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?


Report •

#9
April 5, 2011 at 13:41:38
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.

Report •

#10
April 5, 2011 at 14:45:24
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 !!!


Report •

#11
April 5, 2011 at 23:56:50
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.

Report •

#12
April 6, 2011 at 04:04:56
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.


Report •

#13
April 6, 2011 at 05:15:42
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.


Report •

#14
April 6, 2011 at 13:47:58
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.

Report •

Ask Question