Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]Lighttpd:cannot access website from outside network.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
dhoops116
n00b
n00b


Joined: 17 Aug 2005
Posts: 20

PostPosted: Thu Dec 15, 2005 7:16 pm    Post subject: [SOLVED]Lighttpd:cannot access website from outside network. Reply with quote

Apparently the problem was not any setup in either the router or computer, but rather my ISP, Adelphia, apparently they block port 80.

I recently Installed lighttpd and I am trying to connect to the server
outside of my network. My setup is as follows.

A cable modem going to a router. On the router I turned on all port
forwarding so it goes to my pc. I can ssh into my computer from outside
the network, but I cannot get ping replys and i cannot connect through a
pc from outside the network. However inside the network I can reach the
website I created.

Any ideas?


Last edited by dhoops116 on Fri Dec 16, 2005 2:27 pm; edited 1 time in total
Back to top
View user's profile Send private message
c4
Guru
Guru


Joined: 21 Feb 2004
Posts: 312
Location: Sweden

PostPosted: Thu Dec 15, 2005 7:45 pm    Post subject: Reply with quote

If you can access your server from outside your network via ssh but not http, than it sounds like you are not forwarding the traffic on port 80 to your server. Are you using an ipaddress to access the webserver or are you using a domainname? Perhaps the name is not being resolved properly?
_________________
AMD64 Gentoo Hardened server
AMD64 Xubuntu Desktop
X86 Dreamlinux Vaio laptop
Back to top
View user's profile Send private message
dhoops116
n00b
n00b


Joined: 17 Aug 2005
Posts: 20

PostPosted: Thu Dec 15, 2005 8:42 pm    Post subject: re: server Reply with quote

I am forwarding all traffic to my server. I turned on port forwarding on all ports, so that it goes to my computer. I have tried both the name and ip address of my server. to no avail.
Back to top
View user's profile Send private message
dhoops116
n00b
n00b


Joined: 17 Aug 2005
Posts: 20

PostPosted: Thu Dec 15, 2005 9:15 pm    Post subject: Update Reply with quote

Update:

I turned on DMZ on my router. Now I can connect, however, when I try to bind the server to port 80 it does not work, but if I use 8080 for example it works properly. Any idea why?

Thanks
Back to top
View user's profile Send private message
robbyjo
Guru
Guru


Joined: 06 Apr 2003
Posts: 462

PostPosted: Thu Dec 15, 2005 9:42 pm    Post subject: Reply with quote

I tend to think that you probably has a program already listening to port 80. Try netstat -a to find out. HTH.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum