localhost/xampp/ or http://localhost/index.php can’t be accessed

I am learning server and sql. So I need to install xampp. But unfortunately my localhost/index.php and localhost/xampp not working. I read many questions here stackoverflow but none solved my problem. Here is my httpd-xampp.conf file: This is what I got when I tried to access localhost/xampp/ and localhost/index.php The image is here: Please suggest … Read more

Localhost is not working

If you have defined Virtual Hosts, and thats a very good idea, then you need to define the vhosts name in the HOSTS file. For example, the hosts file: Otherwise windows has no way of knowing where to look for them. Another possibility for localhost not working is a corrupted HOSTS file. Try deleting it … Read more

Getting an error when I visit http://localhost

You can access “localhost” just fine. The “404: file not found” error indicates the server can’t find the requested file once you’ve connected to localhost. ADDENDUM: Maybe try to create a regular html file called test.html in one of your vhosts that is not working. Then try to visit that url. That should give you some clue … Read more

Why does Ruby on Rails use http://0.0.0.0:3000 instead of http://localhost:3000?

Localhost means quite literally “your local host”, usually identified by 127.0.0.1 and all traffic to that address is routed via a loopback interface. If your Web server is listening for connections on 127.0.0.1, this means that it only accepts requests coming from the same host. 0.0.0.0 means that Rails is listening on all interfaces, not just the … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)