apache works, website works, but not from outside?
I have installed lampp, and have been developing a website.
I have setup a virtual server to map port 1000 to port 80 on my laptop. I want to customer to be able to use the the website first. I have turned off iptables but it doesnt seem to want to connect? I can access and work with the webpage from my computer, but from outside I cannot get anything. I cant ping either. Is there something else I should make in the settings besides the virtual server? i have both tcp and udp selected... thanks in advanced mfg, martin |
I put myself on the dmz, i know not a good thing but Im just trying to test it out.
I immediately get a cannot connect. i punched holes open in the firewall on the router as well... no go |
Bet your ISP block port 80 like everyother ISP in the world thanks to the Unsecure IIS / Code Red b@st@rds :)
Change to 81 or something. |
does your linux box have firewall (iptables) active?
|
no, iptables has been turned off ...(not permenant, just temporary till I get it figured out, then I will slowly add rules back in till it is complete and still works.
|
then as sujested above, change the port for your web page and see if you can get it to connect. port 80 maybe blocked by your ISP, so try 8080, or 4050 or some other unused port 1024>, heck try 60000 if you want to get nuts.
|
If iptables is disabled you will have no way to test if the port is open and working from the external interface because the http request needs to traverse from a public to a private ip scheme accross 2 NIC;s/ Basically if you can access the site via localhost or loopback thats good, apache works. If you type http://<outsideip> and if fails then your iptables need to be tweaked. If that works google a site called sheilds up and have them do a port scan on oyur box to report the open ports and adjust your iptables accordingly.
|
well, it works now, thanks for your input.
it turns out to access the site I always used a http://ip:1000//(port i had used on virtual server) but it turns out, for some reason, that when i took away the 1000 and just included the directory of the page I wanted to tested it worked. ip/phpnuke Interesting, I dont get it. its a dlink router, so that should explian a lot. martin |
All times are GMT -5. The time now is 04:04 AM. |