Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Apache Web Server can be visited from outside
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
arielexchile
n00b
n00b


Joined: 23 Nov 2006
Posts: 4

PostPosted: Thu Nov 23, 2006 1:17 am    Post subject: Apache Web Server can be visited from outside Reply with quote

Hi guys, i am new on this OS. I hear a lot of good comments about it. I did the installation step by step with the online manual. All was a chaos but finally i finish.

Then i did install apache web server using emerge command. All was ok until i try to visit the server :(. The internet browser says the time answer has expired.

Please try to help me, thanks for all.
_________________
Ariel MT
Back to top
View user's profile Send private message
jmbsvicetto
Moderator
Moderator


Joined: 27 Apr 2005
Posts: 4735
Location: Angra do Heroísmo (PT)

PostPosted: Thu Nov 23, 2006 1:37 am    Post subject: Reply with quote

Hi.

You'll have to be a bit more verbose for us to be able to help you. Please explain better that error message and what page you're trying to open. You should also state what version of apache and which browser you're using.
_________________
Jorge.

Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
Back to top
View user's profile Send private message
arielexchile
n00b
n00b


Joined: 23 Nov 2006
Posts: 4

PostPosted: Thu Nov 23, 2006 1:49 am    Post subject: Reply with quote

sorry.

Basically the problem is i can't to acces to the pages in the server, this is the address. http://arielexchile.no-ip.info/. I use Mozilla/Firefox 2, IE6, Opera and Avant Browser and all says Impossible to connect and time connection has expired.

When i access to the addres in the same server i can acces as localhost or the entire http address. I have no problems in the same machine, only when i try to access from outside
_________________
Ariel MT
Back to top
View user's profile Send private message
jmbsvicetto
Moderator
Moderator


Joined: 27 Apr 2005
Posts: 4735
Location: Angra do Heroísmo (PT)

PostPosted: Thu Nov 23, 2006 1:56 am    Post subject: Reply with quote

In that case, you can have two problems: either your apache is listening only to localhost or your network connection/router is not allowing traffic to the http port. On your server, check at the output of the following:
Code:
# netstat -tan | grep 80
# netstat -tan | grep 443

The last one is only needed if you're using SSL. On a client outside your LAN, try running
Code:
# telnet http://arielexchile.no-ip.info:80

I can tell you that I can't resolve the name here.
_________________
Jorge.

Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
Back to top
View user's profile Send private message
arielexchile
n00b
n00b


Joined: 23 Nov 2006
Posts: 4

PostPosted: Thu Nov 23, 2006 2:13 am    Post subject: Reply with quote

i did what you told me with this results:

When i did:
# netstat -tan | grep 80

I got:
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN

But, when i did:
# telnet http://arielexchile.no-ip.info:80

I got:
telnet: could not resolve http://arielexchile.no-ip.info:80/telnet: Name or service not known


What that mean?. Thanks
_________________
Ariel MT
Back to top
View user's profile Send private message
jmbsvicetto
Moderator
Moderator


Joined: 27 Apr 2005
Posts: 4735
Location: Angra do Heroísmo (PT)

PostPosted: Thu Nov 23, 2006 2:20 am    Post subject: Reply with quote

arielexchile wrote:

Code:
# netstat -tan | grep 80
tcp   0   0   0.0.0.0:80   0.0.0.0:*   LISTEN


That means apache is listening to requests from all hosts - as it should.
arielexchile wrote:

Code:
# telnet http://arielexchile.no-ip.info:80
telnet: could not resolve http://arielexchile.no-ip.info:80/telnet: Name or service not known


That means you're not updating the no-ip.info DNS configuration. You need to review the process you use to update the DNS info. To test that, try to determine your current IP address, and telnet to the ip address - you should get a reply.
_________________
Jorge.

Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
Back to top
View user's profile Send private message
arielexchile
n00b
n00b


Joined: 23 Nov 2006
Posts: 4

PostPosted: Thu Nov 23, 2006 2:27 am    Post subject: Reply with quote

i think my software is updating DNS information. i think that because if a do a ping to http://arielexchile.no-ip.info the server answer me. :(
_________________
Ariel MT
Back to top
View user's profile Send private message
swooshOnLn
l33t
l33t


Joined: 28 Feb 2006
Posts: 741
Location: Charlotte, North Carolina

PostPosted: Thu Nov 23, 2006 2:49 am    Post subject: Reply with quote

insted of using your DynDNS IP, use the one that you see under "ifconfig <your_network_device". If you are behind a router/such, retrieve your IP address via its status page, or any "what is my ip?" page on google.

If you get no response from your DNS server, chances are that your IP changed and it needs to be updated to your new WAN ip. However, if its a server problem denying access, thats a different story. Does http://127.0.0.1 work?
_________________
"WARNING: you may LOL"

This is my font size, color, and signature. It will change to whatever I pick. How cool is that?
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