I have an apache server on my local network. however, I am getting the error: No connection could be made because the target machine actively refused it 192.168.1.*.
I have also tried using wget localhost on my server and even that is getting the error the target machine has actively refused the connection.
I have stopped shorewall, ufw, denyhosts and ossec services and still no luck. Any ideas on anything else to try?
Could it be my ISP has port 80 blocked?
see if you have something like
Deny from all is not needed. In fact it will screw up because everything will match all, and thus denied (and I think Apache is trying to be smart and do something stupid). I have always found Apache’s Order, Allow and Deny directives confusing, so always visualize things in a table (taken from the docs):
With the above settings:
Requests from 192.168.16.100 get “Match both” and thus denied.
Requests from 192.168.16.12 get “Allow only” and thus allowed.
Requests from 123.123.123.123 get “No match” and thus denied.