user3607045
user3607045

Reputation: 3

Cannot connect to Apache server from outside even on the same network

I am using Apache 2.4.12 64bit on Windows server 2012 R2. The backend is Python 3.4 Django 1.7. When I am trying to connect on localhost all is fine, but when i tryied to connect from outside even on the same network, I have no luck. No answe, even no 403 forbidden. Tis is my Apache config:

Alias /media "C:\SourceTree\AT\AT_OP\media"
Alias /static "C:\SourceTree\AT\AT_OP\static"

<Directory "C:\SourceTree\AT\AT_OP\static">
    Order deny,allow
    Allow from all
</Directory>

<Directory "C:\SourceTree\AT\AT_OP\media">
    Order deny,allow
    Allow from all
</Directory>

WSGIScriptAlias / "C:\SourceTree\AT\AT_OP\AT_OP\wsgi.py"
WSGIPythonPath "C:\SourceTree\AT\AT_OP"

<Directory "C:\SourceTree\AT\AT_OP\AT_OP">
    <Files wsgi.py>
        Options FollowSymLinks
        AuthType None
        AllowOverride None
        Order deny,allow
        Allow from all
        Require all granted
    </Files>
</Directory>

I noticed, that when i restart the server this among all the messages pop up.

[Sun Mar 08 09:16:54.962900 2015] [mpm_winnt:error] [pid 1620:tid 1036] (OS 10038)An operation was attempted on something that is not a socket.  : AH00332: winnt_accept: getsockname error on listening socket, is IPv6 available?

Can this? be the problem?

Upvotes: 0

Views: 128

Answers (1)

Jadi
Jadi

Reputation: 739

First try to telnet to the machine using port 80 (web) and see it the port 80 on the machine is open / accessible:

telnet MACHINE_IP_ADR 80

If you see the prompt, tell:

GET /

and see it you get any HTML output. This way you can isolate your problem one step further.

Upvotes: 3

Related Questions