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

Configure Dovecot to only let localhost connect via imap

How do I configure the Dovecot message delivery agent to only allow imap connections from localhost?
linus1412
  • 345
  • 2
  • 3
  • 6
6
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
  • 175
  • 1
  • 1
  • 4
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,671
  • 12
  • 42
  • 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,161
  • 2
  • 11
  • 14
5
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
  • 59
  • 1
  • 2
5
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
  • 153
  • 1
  • 1
  • 4
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
  • 511
  • 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
  • 497
  • 2
  • 9
  • 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
4 answers

Why does local host say "It Works"?

I have configured all my websites in the "Sites" folder to be tested in my browser. When I type a web address for example http://test.dev, I get "It Works". Why?
david
  • 83
  • 1
  • 1
  • 2
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
0 answers

Match address rule in sshd_config, , difference between localhost, 127.0.0.1 and [::1]

I would like to understand why these three rules in sshd_config behave differently : Match host localhost PasswordAuthentication yes Match address 127.0.0.1 PasswordAuthentication yes Match address ::1 PasswordAuthentication yes Assume…
hello world
  • 123
  • 3
  • 8
4
votes
1 answer

Nginx SSL on localhost

I am trying to configure SSL on my localhost using Nginx. I created a self-signed certificate and my Nginx configuration is as below: server { listen 443 ssl; server_name localhost; root /usr/share/nginx/html; index index.html index.htm; …
Sunil Antony
  • 41
  • 1
  • 3
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
1 2
3
36 37