Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Apache Refuses Connection
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
Bague
Apprentice
Apprentice


Joined: 09 Feb 2004
Posts: 292

PostPosted: Sat Oct 30, 2004 6:04 pm    Post subject: Apache Refuses Connection Reply with quote

I am setting up ana apache webserver on gentoo, in the past this was really easy, but it is giving me problems at the moment.

I forwarded port 80 for the machine, and ran "emerge apache", let that finish,then did "rc-update add apache2 default", then rebooted my server. WHen I try to connect from even my local network, I get "connection refused". Does anyone know what might be causing this?
Back to top
View user's profile Send private message
DL8
n00b
n00b


Joined: 27 Jul 2004
Posts: 54
Location: Israel

PostPosted: Sat Oct 30, 2004 7:07 pm    Post subject: Reply with quote

Are you sure you've configured Apache to listen to port 80? Have you tried connecting to your outside IP (e.g eth0) or localhost (127.0.0.1 or ::1)?
Back to top
View user's profile Send private message
Bague
Apprentice
Apprentice


Joined: 09 Feb 2004
Posts: 292

PostPosted: Sat Oct 30, 2004 9:21 pm    Post subject: Reply with quote

127.0.0.1 also says connection refused.
Back to top
View user's profile Send private message
Nossie
Apprentice
Apprentice


Joined: 19 Apr 2002
Posts: 181

PostPosted: Sat Oct 30, 2004 11:41 pm    Post subject: Reply with quote

Are you sure apache is actualy running ?
Back to top
View user's profile Send private message
Bague
Apprentice
Apprentice


Joined: 09 Feb 2004
Posts: 292

PostPosted: Sat Oct 30, 2004 11:42 pm    Post subject: Reply with quote

Hmmm, I tried manually running /etc/init.d/apache start and it still will not connect. The httpd appears to be running, yet there i no way to connect? Any ideas?
Back to top
View user's profile Send private message
Bague
Apprentice
Apprentice


Joined: 09 Feb 2004
Posts: 292

PostPosted: Sun Oct 31, 2004 12:35 am    Post subject: Reply with quote

Something I noticed, my Desktop machine and my server somehow have the same IP. Is there anyway that this could be causing the problem? How can I fix this?

I don't think that is the problem though, since localhost still wont load.

Also, can anyone tell me a good program that will retreive my WAN IP and update it to dyndns every hour? I have a dynamic IP, and I want a program that keeps the one in dyndns up to date.

I saw this page, https://www.dyndns.org/services/dyndns/clients.html but I am not sure which ones best for me. I want a program that I can pretty much just emerge, do a small config, and rc-update.
Back to top
View user's profile Send private message
Bague
Apprentice
Apprentice


Joined: 09 Feb 2004
Posts: 292

PostPosted: Sun Oct 31, 2004 6:23 am    Post subject: Reply with quote

Hmmm, apache seems to be putting this in "error_log"

Code:

[alert] (EAI 2)Name or service not known: mod_unique_id: unable to find IPv4 address of "prometheus"
Configuration Failed


Any idea what is causing this and how to fix it?

Nevermind, I simply commented out the unique_is line and its fully working now.
Back to top
View user's profile Send private message
r1k0d3r
n00b
n00b


Joined: 19 Oct 2004
Posts: 33
Location: on a radiowave

PostPosted: Sun Oct 31, 2004 12:36 pm    Post subject: Reply with quote

hi,

can you post you httpd.conf so that we can have more informations about your server?
_________________
Last night, i&i dreamt i ate a giant marshmallow, and this morning when i wuk up, my pillow had disappeared...wtf ?!?!
Back to top
View user's profile Send private message
voxorb
n00b
n00b


Joined: 31 Oct 2004
Posts: 1

PostPosted: Sun Oct 31, 2004 5:34 pm    Post subject: Reply with quote

Bague wrote:
Hmmm, apache seems to be putting this in "error_log"

Code:

[alert] (EAI 2)Name or service not known: mod_unique_id: unable to find IPv4 address of "prometheus"
Configuration Failed


Any idea what is causing this and how to fix it?

Nevermind, I simply commented out the unique_is line and its fully working now.


add prometheus to your /etc/hosts
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