RE: [users@httpd] Connection Refused

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>  -----Original Message-----
> From: 	Michael Avila [mailto:Michael.Avila.1@xxxxxxxxxxxxx] 
> Sent:	Montag, 21. November 2005 21:58
> To:	Apache - User Mailing List
> Subject:	[users@httpd] Connection Refused
> 
> Windows XP Pro
> Apache 2.0.55
> Dynamic IP Address on DSL
> 
> 
> For about a week or so whenever I start up my PC and try to connection to Apache, I keep getting a message "The connection was refused when attempting to contact" and then the domain name. 

It is not clear *how* you try to connect to apache - via the public internet? directly from inside your LAN? Let us assume it's via the internet so that your request goes out to the internet and back in again via your ISP-router-modem.

Some experiments:

- can you hit the site directly from inside the LAN? [to identify routing problems]
- what if you use the IP address instead of the domain name? [to identify DNS problems]

Assuming these two things don't work, then it looks like an apache config problem:

- Check your "Listen" directive. Are you listening to port 80? If in doubt, comment out all Listens then apache will default to port 80.

- Do you specify the correct IP address in any Listen? If in doubt, comment it out and apache will default to listen to all active IPs (I assume the PC picks up its IP address by DHCP from the modem?)

- Do other services on the server respond? (eg, SMTP on port 25, ICMP echo on port 7) 

Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored. 


 I was blaming it on the dynamic address changing and the ISP DNS being cached. It made sense even though the dynamic IP address was updated at ZoneEdit, the ISP cache still held the old address.
> 
> Well, I now have a router between the modem and the PC and I am still having the same problem even though the IP address is not changing. I can query the modem, see the IP address, and check ZoneEdit and it is the same. So now the cache should not need to be changed. So why is the connection being refused?
> 
> This is from the error.log file.
> 
> [Mon Nov 21 07:56:40 2005] [notice] Apache/2.0.55 (Win32) PHP/4.3.9 DAV/2 configured -- resuming normal operations
> [Mon Nov 21 07:56:40 2005] [notice] Server built: Oct  9 2005 19:16:56
> [Mon Nov 21 07:56:40 2005] [notice] Parent: Created child process 1628
> [Mon Nov 21 07:56:40 2005] [notice] Child 1628: Child process is running
> [Mon Nov 21 07:56:40 2005] [notice] Child 1628: Acquired the start mutex.
> [Mon Nov 21 07:56:40 2005] [notice] Child 1628: Starting 250 worker threads.
> [Mon Nov 21 08:32:56 2005] [notice] Apache/2.0.55 (Win32) PHP/4.3.9 DAV/2 configured -- resuming normal operations
> [Mon Nov 21 08:32:56 2005] [notice] Server built: Oct  9 2005 19:16:56
> [Mon Nov 21 08:32:56 2005] [notice] Parent: Created child process 812
> [Mon Nov 21 08:32:57 2005] [notice] Child 812: Child process is running
> [Mon Nov 21 08:32:57 2005] [notice] Child 812: Acquired the start mutex.
> [Mon Nov 21 08:32:57 2005] [notice] Child 812: Starting 250 worker threads.
> [Mon Nov 21 10:36:29 2005] [notice] Apache/2.0.55 (Win32) PHP/4.3.9 DAV/2 configured -- resuming normal operations
> [Mon Nov 21 10:36:29 2005] [notice] Server built: Oct  9 2005 19:16:56
> [Mon Nov 21 10:36:29 2005] [notice] Parent: Created child process 844
> [Mon Nov 21 10:36:30 2005] [notice] Child 844: Child process is running
> [Mon Nov 21 10:36:30 2005] [notice] Child 844: Acquired the start mutex.
> [Mon Nov 21 10:36:30 2005] [notice] Child 844: Starting 250 worker threads.
> [Mon Nov 21 15:08:06 2005] [notice] Apache/2.0.55 (Win32) PHP/4.3.9 DAV/2 configured -- resuming normal operations
> [Mon Nov 21 15:08:06 2005] [notice] Server built: Oct  9 2005 19:16:56
> [Mon Nov 21 15:08:06 2005] [notice] Parent: Created child process 1612
> [Mon Nov 21 15:08:07 2005] [notice] Child 1612: Child process is running
> [Mon Nov 21 15:08:07 2005] [notice] Child 1612: Acquired the start mutex.
> [Mon Nov 21 15:08:07 2005] [notice] Child 1612: Starting 250 worker threads.
> 
> There are no entries for today in the access.log file because I keep getting the connection refused message.
> 
> Does anyone have any ideas what might be causing this? Any suggestions to try to change something? I appreciate any help.
> 
> Thanks.
> 
> Mike
> 
>  << File: ATT352168.txt >> 

Diese E-mail ist eine private und persönliche Kommunikation. Sie hat keinen Bezug zur Börsen- bzw. Geschäftstätigkeit der SWX Gruppe. This e-mail is of a private and personal nature. It is not related to the exchange or business activities of the SWX Group. Le présent e-mail est un message privé et personnel, sans rapport avec l'activité boursière du Groupe SWX.
 
 
This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The sender's company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of the sender's company.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux