Forum Moderators: phranque

Message Too Old, No Replies

Localhost is okay, local ip not

         

cajos1968

8:41 am on Sep 28, 2009 (gmt 0)

10+ Year Member



Hi,

I have an odd problem with my Apache install. I'm not a newbie but never had any serious problems with Apache.

My current issue is the following.

when I type [localhost...] the server runs fine. When I type [192.168.2.3...] nothing happens, nor on 127.0.0.1. It seems that Apache doesn't bind to the address.

In my httpd.conf I have made one entry Listen 80. I tried 192.169.2.3:80 the problems remains.

Any one an idea

benevolent001

8:46 am on Sep 28, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi

Welcome to WebmasterWorld

Try the following

Search for hosts file in your windows directory

Add the following line

127.0.0.1 localhost

I hope this will make you happy :)

cajos1968

9:01 am on Sep 28, 2009 (gmt 0)

10+ Year Member



Thanks for the welcome

My issue is not resolving from a system (W2k3) point of view. It is only from Apache.

127.0.0.1 Loaclhost is in there.

cajos1968

9:26 am on Sep 28, 2009 (gmt 0)

10+ Year Member



I mean 127.0.0.1 Localhost

benevolent001

10:59 am on Sep 28, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Can you try and make sure that these two things are not the cause for problem.

1) It is not a proxy issue?
Check

IE-->Tools-->Options--> Connection --> LAN Settings Check Bypass Proxy for local addresses

2) It is not any firewall / Anti virus rights issue.

cajos1968

12:00 pm on Sep 28, 2009 (gmt 0)

10+ Year Member



Bypass is on

Firewall should be fine. Apache is allowed.

This is my startup log. Only issue is IPv6

[Mon Sep 28 09:19:03 2009] [warn] pid file D:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Mon Sep 28 09:19:03 2009] [notice] Digest: generating secret for digest authentication ...
[Mon Sep 28 09:19:03 2009] [notice] Digest: done
[Mon Sep 28 09:19:06 2009] [notice] Apache/2.2.12 (Win32) DAV/2 mod_ssl/2.2.12 OpenSSL/0.9.8k mod_autoindex_color PHP/5.3.0 mod_perl/2.0.4 Perl/v5.10.0 configured -- resuming normal operations
[Mon Sep 28 09:19:06 2009] [notice] Server built: Jul 22 2009 11:35:54
[Mon Sep 28 09:19:06 2009] [notice] Parent: Created child process 2424
[Mon Sep 28 09:19:08 2009] [notice] Digest: generating secret for digest authentication ...
[Mon Sep 28 09:19:08 2009] [notice] Digest: done
[Mon Sep 28 09:19:09 2009] [notice] Child 2424: Child process is running
[Mon Sep 28 09:19:09 2009] [notice] Child 2424: Acquired the start mutex.
[Mon Sep 28 09:19:09 2009] [notice] Child 2424: Starting 150 worker threads.
[Mon Sep 28 09:19:09 2009] [notice] Child 2424: Starting thread to listen on port 80.
[Mon Sep 28 09:19:09 2009] [error] (OS 10038)An operation was attempted on something that is not a socket. : winnt_accept: getsockname error on listening socket, is IPv6 available?
[Mon Sep 28 09:19:09 2009] [error] (OS 10038)An operation was attempted on something that is not a socket. : winnt_accept: getsockname error on listening socket, is IPv6 available?
[Mon Sep 28 10:12:03 2009] [error] [client ::1] File does not exist: D:/xampp/htdocs/gogue
[Mon Sep 28 10:12:04 2009] [error] [client ::1] File does not exist: D:/xampp/htdocs/favicon.ico
[Mon Sep 28 10:39:39 2009] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Mon Sep 28 10:39:39 2009] [notice] Child 2424: Exit event signaled. Child process is ending.
[Mon Sep 28 10:39:40 2009] [notice] Child 2424: Released the start mutex
[Mon Sep 28 10:39:41 2009] [notice] Child 2424: All worker threads have exited.
[Mon Sep 28 10:39:41 2009] [notice] Child 2424: Child process is exiting
[Mon Sep 28 10:39:41 2009] [notice] Parent: Child process exited successfully.
[Mon Sep 28 10:39:44 2009] [notice] Digest: generating secret for digest authentication ...
[Mon Sep 28 10:39:44 2009] [notice] Digest: done
[Mon Sep 28 10:39:46 2009] [notice] Apache/2.2.12 (Win32) DAV/2 mod_ssl/2.2.12 OpenSSL/0.9.8k mod_autoindex_color PHP/5.3.0 mod_perl/2.0.4 Perl/v5.10.0 configured -- resuming normal operations
[Mon Sep 28 10:39:46 2009] [notice] Server built: Jul 22 2009 11:35:54
[Mon Sep 28 10:39:46 2009] [notice] Parent: Created child process 272
[Mon Sep 28 10:39:48 2009] [notice] Digest: generating secret for digest authentication ...
[Mon Sep 28 10:39:48 2009] [notice] Digest: done
[Mon Sep 28 10:39:50 2009] [notice] Child 272: Child process is running
[Mon Sep 28 10:39:50 2009] [notice] Child 272: Acquired the start mutex.
[Mon Sep 28 10:39:50 2009] [notice] Child 272: Starting 150 worker threads.
[Mon Sep 28 10:39:50 2009] [notice] Child 272: Starting thread to listen on port 80.
[Mon Sep 28 10:39:50 2009] [error] (OS 10038)An operation was attempted on something that is not a socket. : winnt_accept: getsockname error on listening socket, is IPv6 available?
[Mon Sep 28 10:39:50 2009] [error] (OS 10038)An operation was attempted on something that is not a socket. : winnt_accept: getsockname error on listening socket, is IPv6 available?
[Mon Sep 28 10:39:50 2009] [error] (OS 10038)An operation was attempted on something that is not a socket. : winnt_accept: getsockname error on listening socket, is IPv6 available?