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 80i check it and restart it and is not working. how to do it now?
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 !!!
Yes, them are working.
Do you know what to see next?
How to see where is the problem?
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 !!!
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?
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).
These are the informations:
Model Broadband Router
Hardware Version Rev. A
Boot Code Version 1.0
Runtime Code Version 3.15Im 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 80I 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?
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?
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?
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.
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 !!!
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.
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.
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.
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.
| « no packets received | How to config wireless ro... » |