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

nginx redirecting to localhost

I'm sort of a noob at this and I'm just switching into nginx so I apologize for the noob question. I have installed nginx and when I go to the root directory of its web folder I can get the index file. But when I try to go to a folder, say,…
Richard
6
votes
2 answers

Sendmail to local domain ignoring MX records (part 2)

I have the exact problem, like in this post: Sendmail to local domain ignoring MX records . I am also using an email provider like GMail For Your Domain (which stores your mail and manages it). I am sending mail from my server directly, but…
Vladislav Rastrusny
  • 2,581
  • 12
  • 39
  • 56
5
votes
2 answers

Difference between 127.0.0.1 and 127.0.1.1?

In my /etc/hosts file, I have two lines: 127.0.0.1 localhost 127.0.1.1 hostname What is the difference between the two lines, where do I find the host name?
user482004
  • 59
  • 1
  • 2
5
votes
3 answers

iptables for local connections

On "Server A", I have a service running on port 1445. "Server B" can connect to "Server A" on port 445 via the following rule: iptables -t nat -A PREROUTING -d www.kunde.de -p tcp -m tcp --dport 445 -j REDIRECT --to-ports 1445 This does not work…
user27451
  • 1,151
  • 2
  • 10
  • 14
5
votes
2 answers

How to reset and persist the hostname and FQDN of an Windows Azure Centos instance?

How does one reset a hostname and domain name (FQDN) to localhost.localdomain on a Centos 6.2 Azure Instance? I've tried editing /etc/sysconfig/network, /etc/sysctl.conf, setting the hostname manually, but whatever I do, cannot get FQDN (i.e. the…
ddario
  • 501
  • 1
  • 3
  • 12
5
votes
3 answers

Ubuntu + Nginx 127.0.0.1 works but localhost doesn't

this one is weird, because I don't have any error messages. I have a very basic default file: server { #listen 80; ## listen for ipv4; this line is default and implied #listen [::]:80 default ipv6only=on; ## listen for ipv6 root…
valk
  • 477
  • 2
  • 8
  • 20
5
votes
2 answers

Alternative to HOSTS file for virtual hosts?

I am running Windows 7, Apache 2.28 is my version of Apache, localhost and virtual hosts run well. Only one issue - what's the best alternative to using the HOSTS file? I tried DNSKong, but not sure if that's the best idea... isn't that a…
5
votes
5 answers

Accessing localhost on IIS7 from another computer on the network

I recently upgraded computers to Windows 7 Professional and am running IIS7. When I'm on my computer I can easily access localhost through my web browser but when I try from another computer on my network (replacing localhost with my computer name)…
Adam
  • 165
  • 1
  • 1
  • 4
5
votes
4 answers

Virtual hosts on same ip AND port

Is this even possible? My current vhost.conf entries: ServerAdmin example@example.com DocumentRoot "C:/xampp/htdocs/b-page" ServerName b-page ServerAlias www2.b-page.lv ErrorLog…
4
votes
1 answer

Ubuntu Apache Server 503 Error: disabled connection for (localhost)

in a bit of a bind here. I'm trying to move a website (www.monkhouselaw.com) from one hosting company to my Digital Ocean VPS. I've changed the DNS settings to: * -> 107.170.29.18 www -> 107.170.29.18 monkhouselaw -> 107.170.29.18 This then directs…
CGriffin
  • 163
  • 1
  • 1
  • 5
4
votes
1 answer

psping to localhost - improve throughput

I'm using following psping command to measure the bandwith throughput for localhost on a physical server psping -4 -b -l 8k -n 20000 localhost:1234 The throughput is around 150MB/s wich isn't all that bad but for an ipc over tcp problem we are…
4
votes
1 answer

Self-signed EV SSL certificate

I have a ton of testing projects going on in my localhost apache server. I have SSL installed on my localhost. Call me a freak (and I wouldn't mind it because this is totally pointless), but I would like my localhost's SSL to be an EV SSL with the…
Coach0512
  • 49
  • 1
  • 2
4
votes
2 answers

Arbitrary loopback ip addresses besides 127.0.0.1

I am developing a web app that has to produce different output based on ip. For testing and during development it would help a lot if I could have more loopback ip addresses besides 127.0.0.1. Is there a way to create (and latter destroy) these?
Majid Fouladpour
  • 269
  • 4
  • 19
4
votes
3 answers

IIS refuses connection to localhost and 127.0.0.1

I am unable to connect to localhost and http:// 127.0.0.1 on one of my machines. However http://machinename works. This results in the Windows Token Application being not able to issue tokens, because it can't connect. This is showing up in the…
Marco
  • 158
  • 1
  • 1
  • 9
4
votes
1 answer

DNS server can't resolve localhost name

I'm trying to set up an Apache server on my RHEL6.4 vm and can't because dnsmasq can't recognize the hostname for some reason: nslookup rhel64.example.com Server: xxx.xxx.xx.1 Address: xxx.xxx.xx.1#53 server can't find…
pt18cher
  • 143
  • 1
  • 1
  • 4
1 2
3
35 36