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
549 questions
-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)?
Adam Larsson
  • 31
  • 1
  • 6
-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
  • 163
  • 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
-2
votes
2 answers

macOS: How do I expose a localhost port to the LAN IP on the same computer?

On a Raspberry PI I have, whatever I run on, say, http://localhost:8080, is automatically visible to other computers on my local network at http://192.168.0.xxx:8080 or http://pi.local:8080. This doesn't happen with my Mac. If I'm testing an Angular…
kshetline
  • 109
  • 1
  • 7
-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?
-3
votes
1 answer

FH_HELO_ALMOST_IP: How to fix HELO for sent e-mails (CentOS 7)

I've got bad rating of my sent e-mails because of my invalid Helo. I have no idea how to fix it. CentOS 7 On Kimsufi Any ideas? Ok, I've done something and it helps. I've made change here /etc/hostname with my new hostname:…
gicu
  • 35
  • 1
  • 1
  • 6
-3
votes
2 answers

DNS Server VS DNS Record

This question is to clarify a fundamental concept so that I can properly understand an error message. My server threw a warning message that implored me to: add 127.0.0.1 to the list of DNS servers Would that mean that they are asking me to…
neanderslob
  • 268
  • 2
  • 4
  • 14
-3
votes
1 answer

What are the drawback if I use 127.0.0.1 instead of 127.0.1.1 in my host file?

Ubuntu default host file is something like 127.0.0.1 localhost 127.0.1.1 myhostname Will there be any drawback if I change to: 127.0.0.1 localhost myhostname
Ryan
  • 5,831
  • 24
  • 72
  • 91
1 2 3
36
37