I'm using a server 2008 r2. There I've installed Wamp on port 8080, SSRS on port 8063
and Some IIS sites on various ports.
I've installed CCproxy on the same server.
The funny thing is, I can't access them via server IP:port (192.168.8.100:8080)
But I can, however, access it by Host:port (Mainserver:8080)
.
Then I thought it might be a clash between those services and installed wamp on a windows 8.1 computer and even that I can't access via the IP.
Please help.
Thanks
it looks like you are trying to access your website by using the local IP range 192.168.1.100
. In some WAMP default configs, the devs have set the apache config to disallow access except from localhost.
Try to open the httpd.conf
file located at C:\\wamp\\bin\\apache\\apache#.#.#\\conf\\httpd.conf
Find the <Directory "c:/wamp/www">
block and replace the Order Deny,Allow
and everything that follows with Order Allow,Deny
followed by Allow from all
. The end result should look like something similar to this:
DocumentRoot "c:/wamp/www" <Directory "c:/wamp/www"> Options Indexes FollowSymLinks Order Allow,Deny Allow from all </Directory>
To be safe, look into the virtual hosts config file and see if you find any Order Deny,Allow
directives and replace them as well. The file is located at C:\\wamp\\bin\\Apache#.#.#\\conf\\extra\\httpd-vhosts.conf
You can read more about Order Directive from the Apache Documentation
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.