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
vote
1 answer

How to set up Apache2 on different local development environments to use the same artificial host name?

I have two development environments: PC at work (env1), laptop at home (env2). Both machines run Ubuntu 15.10 with Apache 2.4.12. Once finished, the project shall be deployed to a public web server (env3). I use Git for version control and…
Bunjip
  • 111
  • 1
1
vote
1 answer

How to map apache to use an index file inside another directory in www/html/ without reflecting on url

Apache version: 2.4 OS: Ubuntu 14.04 I am not sure whether I wrote the heading correctly. My index file is located at some directory (say /var/www/html/new/ ) rather than the default apache root. I want apache to load the index file from this…
1
vote
0 answers

dnsmasq causes "Bad request syntax"

I need to wildcard localhost for dev purpose and I'm really green on dns and network things. With wildcard localhost I mean that I need to test my python and node.js applications with: localhost.dev, test.localhost.dev, etc. I've followed this…
nkint
  • 153
  • 5
1
vote
0 answers

Mongoose hang waiting for localhost

I'm using Mongoose on Windows 10, localhost is unreliable. I have tried almost all hosts file combination possible. I have tried almost all qualified names for localhost. Most of the time it just hangs forever. ping localhost works fine. This is a…
1
vote
1 answer

ssh bind address through multiple hosts

I'm trying to ssh through multiple hosts which works with no problems like so: ssh -t -t user1@host1 ssh -t -t -p 222 user2@host2 Now I would like to use local host for access to a third host and I do it like so: ssh -L 2222:host3:22 -t -t…
Arman
  • 165
  • 1
  • 1
  • 5
1
vote
2 answers

Can't reach 127.0.0.1 via Browser(Windows Server 2012R2)

On a Windows Server 2012R2 I can't open the local hosted site via 127.0.0.1, via localhost works. Ping of 127.0.0.1 works also. On a Windows Server 2008R2 it works without any Problems. What could cause this issue?
GiXXeR
  • 11
  • 1
  • 1
  • 2
1
vote
1 answer

Cannot access Apache 2 virtual host on localhost

I originally set my web root in /etc/apache2/sites-available/000-default.conf to point to /home/me/www. Due to the requirements of a new project, I need to be able to set /home/me/www/vendor/www as its own virtual host as any local directory cruft…
1
vote
3 answers

how to find proces which is pinging localhost

How can you find the process issuing ping to localhost? While it is not script, where the ping command can be simply grep from process table. I have used wireshark, but it is of no help to find out which process actually causing the ping. Many…
readyblue
  • 119
  • 1
  • 7
1
vote
1 answer

Local IIS webpage address is IP:PORT - How can i have it set to something more human readable, like teehut.com, on my local network?

I am running windows 7 - installed IIS and created a new site. I set this site to run on port 8080. Currently, if i visit http://192.168.2.150:8080/ or localhost:8080, i can hit my site. Other computers on the network can hit my site if they go to…
jordan
  • 111
  • 2
1
vote
2 answers

localhost as computer name

When you set up Windows it requires a computer name, something like Steven-PC. This is the equivalent to hostname on Linux. I noticed that Fedora Linux uses localhost as the default hostname. Would using localhost as a computer name cause any…
Zombo
  • 1
  • 1
  • 16
  • 18
1
vote
1 answer

Can't reach iis server via external ip

I am using aws from amazon and I have iis intalled on my server. I have created a test site but I can't reach it using external ip address. It is only reachable throught http://localhost- and 10.0.241.77 the local ip. How can I make iis run on…
Arda Kara
  • 113
  • 4
1
vote
1 answer

Windows server DNS resolves localhost for (some) foreign IPs

I have 2 Windows Server 2008 R2 DNS Servers which share the domain xyz.wan and reside in the 192.168.50.0/24 subnet of my network. Connected via IPSec VPN site-to-site are some other subnets (192.168.51.0/24, .52.0/24, etc.) which have their own…
Lenniey
  • 5,090
  • 2
  • 17
  • 28
1
vote
2 answers

Bind9 DNS resolves full domain to localhost

I have set up a Bind9 DNS server on my development VM which is running Debian Wheezy. My addresses resolve from my host machine (Win7) to my dev VM, and I can ping from there. Internally on the VM, I can ping my names (www, share, my_name, etc.) and…
paulski
  • 111
  • 1
  • 3
1
vote
2 answers

Serving assets on two different ports

I have one PHP app running on localhost port 80 and another running on port 81. Pointing the browser to http://localhost runs the first app and all of its assets: js, css, imgs in the /assets folder. However, the 2nd app only can serve assets that…
tim peterson
  • 683
  • 2
  • 9
  • 18
1
vote
0 answers

DNS does not route properly to WAN NIC when dnscrypt is used

I have a Windows 2003 server with AD integrated DNS. I'm trying to configure the server to make outgoing (forwarded) DNS requests through dnscrypt proxy instead of through the normal TCP/UDP 53. I setup dnscrypt to run on 127.0.0.7 with the command…