Connection Refused Error
Posted by: OneConfusedMan (---.static.adam.com.au)
Date: March 30, 2016 06:57AM

Hi guys.
I'm going to go bald after the hair tearing today.
Basically I have the ability to get to internal URLs but any external URL is rejected with an Connection Refused error.

in my httpd.conf:

Listen *:8081
NameVirtualHost *:8081
<VirtualHost *:8081>
DocumentRoot "C:/wamp/inSite/www"
ServerName server2

# Other directives here
RewriteEngine Off

<Directory "C:/wamp/inSite/www">
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>

I'm not using Port 80 (as you can tell) and access via "server2:8081".

I've got WAMP set to 'Put Online' and also the firewall on the server and router are set for port forwarding.

What am I doing wrong here?

Options: ReplyQuote
Re: Connection Refused Error
Posted by: Otomatic (Moderator)
Date: March 30, 2016 09:56AM

Hi,

> What am I doing wrong here?
All things!

Don't modify httpd.conf

> Listen *:8081
> NameVirtualHost *:8081
Why 8081 ?

Please answer to : READ BEFORE YOU ASK A QUESTION

Then use VirtualHost : The need for Virtual Host

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote


Sorry, only registered users may post in this forum.