I have a Westell versalink 327w "http://www.westell.com/broadband-home-networking/versalink-gateway.html". And for some reason it keeps blocking my Apache server host ip "192.168.1.46:8080/, I change ports many times. I have no fire walls enable, and Apache server is configured in the httpd.conf file, servername: 192...:8080, listen port :8080. On LAN works perfect, but not on the net. But when I run the Dyndns.com's open port tool, it says "An attempted connection to 71.178.129.238:8080 was refused. This typically indicates that there are no services available on that port, but that it is NOT being blocked by a firewall or your ISP. Before it said connection to 71...:8080 was timeout, I enable Remote Administration in the router, now it says refuse. I thought I did something and fixed it. And still being blocked from the net. Can you guys help me out.
apache will display your site on your local lan with no problem but for anyone from outside your network to access it you must forward the port apache is listening on. Most routers use NAT, so your ISP address say 62.1.1.2 will need to go through NAT to your LAN ip of 192.168.1.46. unless you forward ports to your LAN ip connection wont be possible. Another possible way is to move your machine with apache into the DMZ so the router will not need to do NAT or have ports forwarded. good luck
In my httpd.conf file, are set to 1. *Listen 12.34.56.xx:8080 Listen 8080 2. servername: 192.168.1.47:8080/ In my router, NAT is enable and DMZ disable. I change them around using both at the same time, NAT enable-DMZ enable or just DMZ. And it turns out only when I use NAT, It works. My port forwarding is at :8080. But still only LAN, all firewalls are disable. I use dyndns.com's open port tool, and for the 1st time last night, it says that this connection is open. I got so excited, I tried it on another pc with even a different ISP, and still don't work on the net. I don't use port:80, that don't work period. Is there something Im missing in my router or apache, what do you think it is?
your telling apache to listen for requests on the this address Listen 12.34.56.xx:8080 but then you enter 192.168.1.47:8080 as server name. what do you have in your /windows/system32/drivers/etc/hosts file? keep the ip addresses consistent across all your config,if you want to serve pages to external users you will need to use the ISP address not the internal. Internal address should only be used for your local development you should use only NAT or DMZ, both will not work. Using NAT when a user requests your webpage from 12.34.56.xx the router must take that request and translate it to your internal address of 192.168.1.47, so if you forward port 8080 to that 192 address it should work. also server name should be mywebz.com:8080 not an ip address. for example in my vhosts i use servername as kush.thc also are you using the main site directory or is this a vhost? here is some info from apache if you can post or send me your conf file i can look closer at it for you im sure its just something you overlooked. cheers
Hey, bubbakush, here's the file, I had to do it in word format cause in won't upload in .txt. Im a little confused, what would be the ISP address and my servername, or do i just make up a servername?
i dont see the conf file? heres what you can try step by step. make sure your httpd.conf file is set to. Listen 8080 in your /windows/system32/drivers/etc/hosts file you should have 127.0.0.1 localhost 127.0.0.1 vhost1 If your using a vhost: then in your vhosts container you should have something like. NameVirtualHost *:8080 <VirtualHost *:8080> ServerName vhost1 DocumentRoot "C:\Program Files\apache2\htdocs\vhosts\vhost1" </VirtualHost> *restart apache after any changes check to see if you are able to access it via the LAN http://vhost1 If it works from within your lan you can now try to change the settings Now if you use DMZ change the ip under /../etc/hosts so it reflects your ISP ip 127.0.0.1 localhost 61.1.1.10 vhost1 <-example you can find it by going to http://whatsmyip.org/ the servername will be your tld domain such as www.bubbakush.com or whatever you set it to,the hosts file is used to do a hostname to ip lookup. so for example if you type into your browser http://vhost1 it will look at the hosts file to resolve the request to the ip you have entered. If you dont want to use DMZ then you must turn it off for that machine and set port forwarding. you will want to forward port 8080 to the ip address your computer is issued from the router 192.168.1.x
Hey bubbakush Remember me, about my ports being blocked. Everything turn out great, now my page can be viewed from the net. Your a very great mentor. I really hope if it doesn't bother you if I ask you a few more questions? Robert