Wednesday, April 11, 2018

xampp - localhost is working but not 127.0.0.1 in windows

Open C:\xampp\apache\conf\extra\httpd-vhosts.conf

search <VirtualHost *:80> or this line (DocumentRoot "c:/xampp/htdocs/)
replace this with below code.

<VirtualHost 127.0.0.1:80>
DocumentRoot "c:/xampp/htdocs/"
ServerName localhost
<Directory c:/xampp/htdocs/>
Require all granted 
</Directory>
</VirtualHost>

Now Restart xampp and access 127.0.0.1



http://localhost works but 127.0.0.1 does not work in windows 
localhost - Virtual host installation not working
Unable to resolve localhost, 127.0.0.1 or local IP address ...
Localhost working but IP address and 127.0.0.1 but working


127.0.0.1 not working windows 10,  127.0.0.1 not working,  localhost working but ip address not working,  localhost not working,  127.0 0.1 not found, 127.0.0.1 localhost,  localhost not working in windows 7, 127.0 0.1 this site cant be reached

No comments:

Post a Comment