Questions tagged [localhost]

Localhost is an address/term used for testing connection to the local host (current computer) used for some network troubleshooting

localhost (all lowercase) (meaning this computer in computer networking) and is the standard hostname given to the loopback network interface.

IPv4

Under IPv4 the standard localhost address is normally assigned to:

127.0.0.1

IPv6

In full notation, the address under IPv6 is:

0:0:0:0:0:0:0:1
537 questions
-1
votes
2 answers

install lamp on ubuntu 11.04 desktop - localhost not working

I just ran sudo apt-get install lamp-server^ on my Ubuntu 11.04 Desktop computer to get my localhost server up and running. Now when I type in localhost to my web browser it only shows .html files that are in the var/www/ folder and not php. When I…
codedude
  • 107
  • 1
  • 5
-1
votes
2 answers

Xampp LAMP server: localhost:80 requires a username and password

I would installed xampp in my system but when i try to run my localhost following message will appear "The server localshost:80 requires a username and password.please help
sutha
  • 1
  • 1
  • 2
-1
votes
1 answer

wamp - What is the 'root' user, and why does it appear under localhost and '127.0.0.1'?

I created a new db in WAMP, and I note that under the 'Privileges' tab that list the users I have one user that I didn't create, named 'root'. What is it? It is listed twice, once under 'localhost' and once under '127.0.0.1'. I understand that…
JDelage
  • 221
  • 1
  • 4
  • 9
-1
votes
4 answers

Setup localhost on home computer as remote server

Recently I have finished a PHP project that I have tested on my home computer using WAMP. I dont have any hosting online and would like to make my localhost remotely accessible. For example, I want to make it possible for someone on the internet to…
user58327
-1
votes
3 answers

how to connect to one of multiple virtual sites (apache 2.4)

If I create one site, I can access it with http://localhost ... But if I create multiple virtual sites, with apache, on the same computer, http://localhost won't work. How can I access it? (on the same computer, aka localhost)?
-2
votes
1 answer

server not listening on port 5432

My localhost is Apache Tomcat. The server is not accepting connections and I am getting error message connection to localhost refused on GeoServer and PostgreSQL 9.5 on port 5432. I used the postgresql.conf editor that is built into pgAdminIII to…
Humaira
  • 1
  • 2
-2
votes
1 answer

IP address differences between two computers on the same local network

Why does the python command print(socket.gethostbyname(socket.gethostname())) give: 192.168.1.4 on my laptop 127.0.1.1 on my Raspberry PI when they're both on the same local network, and the PI's IP address is a static 192.168.1.61? Please be…
reggie
  • 97
  • 2
-2
votes
2 answers

Point IP Address to /var/www/ localhost

I am paying for a Virtual Private Server with Linode. I recently set it up with apache to host two different websites. Now that I've added the sites, I can no longer access my index.html file at /var/www/. For some reason, my IP address points to…
bozdoz
  • 153
  • 2
  • 6
-2
votes
1 answer

Can't acces localhost through http://localhost/ on tomcat

I am having trouble accessing localhost through http://localhost and http://127.0.0.1 But i can access both when i use https. https://localhost Why do you think this is? The web server is Tomcat 7.0.25. Thanks.
JCS
  • 101
  • 2
-2
votes
1 answer

shift a localhost site from webrick localhost:3000 to apache2 passenger localhost/redmine or redmine.localhost

I have installed application called REDMINE on my localhost, using ruby on rails. It is accessible webrick script through localhost:3000, on my PC. Now I want to shift to apache2 passenger, I tried everything. Every possible link of redmine, but…
rathin2j
  • 9
  • 3
-2
votes
2 answers

Solving problems regarding accessing localhost over LAN

I have two computers with IP addresses of 192.168.1.1 and 192.168.1.2 respectively. Both computers have Apache servers installed on them and both are listening to port 8080 rather than 80. I have connected both computers via LAN and I am successful…
Rafay
  • 111
  • 4
-2
votes
1 answer

Google DNS for localhost

Updated: I want to use Google DNS for my localhost server. Is that possible? The main reason for this is I keep getting the following errors for the functions like file(), fopen() etc. Warning: file(): php_network_getaddresses: getaddrinfo…
Bibhas
  • 119
  • 6
-2
votes
7 answers

http://localhost not working

i am using xampp 1.7.1 PHP 5.2.9 pinged localhost on cmd and it showed Reply from ::1: time<1ms Reply from ::1: time<1ms Reply from ::1: time<1ms Reply from ::1: time<1ms hosts file has 127.0.0.1 localhost 127.0.0.1 localhost.com 127.0.0.1…
kapitanluffy
  • 139
  • 1
  • 1
  • 8
-3
votes
1 answer

abcdefg.com resolves to 127.0.0.1. Why?

This domain abcdefg.com doesn't use to resolve to anything. Suddenly it started to resolve to 127.0.0.1. I can see this happen in my corporate network, my home network and even on my mobile network. Does anyone knows why?
-3
votes
2 answers

How to access 127.0.0.2 3 etc to other computer/network over LAN?

I have 2 computer(A n B) which connected same wifi. If i want to access my localhost(127.0.0.1) from computer A to B i just enter LAN IP(example http://192.168.99.5) on computer B. But how to access 127.0.0.2 or 127.0.0.3 etc to other computer?
1 2 3
35
36