LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   apache works, website works, but not from outside? (https://www.linuxquestions.org/questions/linux-software-2/apache-works-website-works-but-not-from-outside-348843/)

kahn 08-01-2005 08:43 AM

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

kahn 08-01-2005 08:48 AM

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

d00msdaypr0phet 08-01-2005 08:48 AM

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.

Lleb_KCir 08-01-2005 10:53 AM

does your linux box have firewall (iptables) active?

kahn 08-02-2005 02:43 AM

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.

Lleb_KCir 08-04-2005 09:44 PM

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.

d00msdaypr0phet 08-04-2005 10:41 PM

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.

kahn 08-05-2005 02:38 AM

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.