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
3
votes
0 answers

Getting 503 when trying to run Classic ASP on Win7 and IIS7.5

I am being asked to resurrect a classic ASP application for temporary use. Wonderful. Well, the pay's the same, so I am now trying to get the thing to run on my localhost so I can test it and so on. I have copied all the files to…
Cyberherbalist
  • 337
  • 1
  • 4
  • 14
3
votes
1 answer

HTML served from localhost is being modified by ISP

I took my laptop to a local restaurant yesterday to do some work setting up a new web app. I get the server in place, and created a simple HTML page: Hello, world. I start the server (Jersey), and then issue the…
jchilders
  • 143
  • 3
3
votes
3 answers

DNAT from localhost (127.0.0.1)

I'd like to set up a TCP DNAT from 127.0.0.1, port 4242 to 11.22.33.44, port 5353 on Linux 3.x (currently 3.2.52, but I can upgrade if needed). It looks like the simple DNAT rule setup doesn't work, telnet 127.0.0.1 4242 hangs for a minute in Trying…
pts
  • 425
  • 1
  • 5
  • 15
3
votes
3 answers

Redirect localhost requests to a Linux container

I run a few Linux containers, each running a webapp, on my Ubuntu host. To access the webapps, I use iptables to forward port: sudo iptables -t nat -A PREROUTING -p tcp --dport -j DNAT --to-destination #: This work well…
rmonjo
  • 231
  • 1
  • 4
  • 12
3
votes
2 answers

When using netstat on a listening port what is the difference between localhost:6666 and [::]:6666 in 'Local Address' field

Using ubuntu 11.04, I run netstat -nplt the results for local address may be localhost:6666 or [::]:6666 What is the difference? I believe that the [::]: binds the service at port xxxx to all interfaces, (lo, eth0, eth1 ) and …
Dave
  • 357
  • 2
  • 5
  • 10
3
votes
1 answer

ssh localhost exits with "debug1: Exit status -1 "

I am trying to setup ssh and ssh to localhost on Cygwin, but I am getting the following error. Any suggestions will be appreciated: $ ssh -v localhost OpenSSH_6.0p1, OpenSSL 1.0.1c 10 May 2012 debug1: Reading configuration data…
fixxxer
  • 131
  • 1
  • 1
  • 4
3
votes
1 answer

Kerberos & localhost

I've got a Kerberos v5 server set up on a Linux machine, and it's working very well when connecting to other hosts (using samba, ldap or ssh), for which there are principals in my kerberos database. Can I use kerberos to authenticate against…
Alex Leach
  • 1,577
  • 3
  • 14
  • 18
3
votes
0 answers

haproxy tcp transparent mode on the same box as service

I'd like to set up transparent HA Proxy for TCP protocol. It works flawlessly when HA Proxy is in front of the boxes that are running the service. But when I try to set up HA Proxy in transparent mode to load balance connections to a service that is…
Filip
  • 31
  • 1
3
votes
1 answer

Do local cURL requests count towards my network transfer limit?

I have a purchased a hosting that allows me 10 GB of monthly transfer. Will this 10 GB of transfer be affected if I make some cURL requests, from-a-script-to-a-script on the same server (in this case it's a kind of "local-request")?
3
votes
3 answers

How do I force BIND9 to bind to a specific IP?

This is my setup: $ ip addr 1: lo: mtu 16436 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo inet 10.0.2.0/24 scope global lo inet6 ::1/128…
Habbie
  • 745
  • 3
  • 9
3
votes
1 answer

Failed to connect to MySQL at localhost

I recently installed MySQL on my machine using MySQL installer. I am using it as part of an Apache Tomcat server I'm running on localhost. I linked the database to Netbeans and everything was working fine. A couple of weeks ago I accidentally shut…
Brian Byrne
  • 31
  • 1
  • 1
  • 2
3
votes
2 answers

Localhost stop resolving after a few minutes IIS 7.5

I am running IIS 7.5 on my local machine (Windows 7 Home Premium) and localhost works for about three requests and then stops taking requests. The strange thing is when I switch to calling it with 127.0.0.1, I can access the page again but then the…
3
votes
2 answers

Is it good to define localhost as 127.0.0.1 in your hosts file?

I just came across a server that does not respond to things like ping localhost or mysql -h localhost - I believe this is because localhost is not defined in the hosts file. On just about every machine I've used localhost has been an entry in the…
cwd
  • 2,693
  • 9
  • 32
  • 47
3
votes
4 answers

Cannot get proxy.pac file to get browsers to go DIRECT for localhost

I am gonna throw this problem out into the wild. We have just started using a proxy to log users internet usage against login names. This is setup on ISA Server 2004 (which is on our Internet gateway server). Integrated and basic forms of…
Qwerty
  • 1,504
  • 2
  • 15
  • 24
3
votes
3 answers

Strange redirect to localhost! http://dp.000.in/?

I just accidentally typed imadb.com and after 2 redirects (I think) I ended up at: http://dp.000.in/ You can imagine my surprise when I noticed I was seeing my webpages on my local host! Can someone explain why dp.000.in points to the local host and…
zaf
  • 157
  • 1
  • 7