Localhost is an address/term used for testing connection to the local host (current computer) used for some network troubleshooting

learn more… | top users | synonyms

0
votes
0answers
8 views

Override localhost IP Adress in Windows 8.1 [migrated]

I'm trying to set up Windows 8.1 virtual machine through VirtualBox for testing a server running on my Mac (running Yosemite 10.10.3). VirtualBox sets up a the IP 10.0.2.2 to point to the host ...
-2
votes
1answer
25 views

IP address differences between two computers on the same local network [on hold]

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 ...
0
votes
4answers
58 views

What exactly is going on when I go to localhost:8080 in my web browser? (Apache Tomcat)

I've spent my career doing all local application programming (C++ applications and whatnot). I'm trying to dig my feet into the web world now, however. I'm using Eclipse (Mars) and Apache Tomcat ...
0
votes
0answers
14 views

Apache Redirect to https except for localhost requests [duplicate]

I want that external requests on my Apache will be redirected to https - RedirectMatch ^/$ https://example.com but when the request comes from localhost the Redirect should point to ...
-1
votes
0answers
12 views

Apache serving default page on local subdomains (Chrome only) [closed]

I am running into a strange issue with XAMPP and Chrome. I have made several subdomains on localhost over the years (foo.localhost, bar.localhost, etc.) These have been working fine on all browsers ...
1
vote
1answer
33 views

When connecting to localhost, does a full SYN, SYN-ACK, ACK handshake still occur?

This question is addressed, primarily for Linux. While I could find the answer myself, I'm hoping someone out there just knows the answer implicitly and can save me some time. If I'm connecting to a ...
-4
votes
1answer
29 views

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

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 ...
0
votes
1answer
15 views

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 ...
0
votes
1answer
1k views

hMailServer - Thunderbird message with a blank body

I've just installed hMailServer and Thunderbird and managed to get them talking to each other. When Thunderbird gets the message from the server (this is all running locally by the way), the subject ...
0
votes
1answer
982 views

WAMP can connect to localhost but not 127.0.0.1 [closed]

I'm running WAMP which was working fine the other day. Today I tried connecting to 127.0.0.1 and my browser throws a 404. Both firefox and chrome. My hosts file is correct mapping 127.0.0.1 to ...
3
votes
1answer
2k views

localhost/phpmyadmin pulls blank page [closed]

When I tried configuring local machine as a Internet Gateway with website development capabilities over it and I installed all required software into it. I also had disable the selinux into it. But ...
1
vote
3answers
7k views

phpMyAdmin not found on Windows [closed]

I installed WAMP server 2.2 on Windows 7 x64. I clicked on its system tray icon and put the server online. Then I select PhpMyAdmin and I get a 404 page. Localhost successfully gives me the Apache 2 ...
0
votes
1answer
40 views

Postfix + php translating email addresses sent to local domains to something@localhost.localdomain [closed]

My first question here, if I don't provide sufficient info straight away, please take it easy on me with the downvotes ;-) I'm running a VPS hosted by afterburst.com with OpenVZ I installed and ...
0
votes
1answer
33 views

How to use non-deprecated tools like ss to get process id running on a port?

I am looking for a non-deprecated way of running a command like netstat -tulpn | grep 8000 to output information about an active port. Any suggestions on how to use a tool like ss to get the process ...
0
votes
2answers
71 views

Apache 2.2 won't start with an ipv6 address [closed]

I'm trying to only allow the localhost on a certain folder, it works perfect with ipv4 (Allow from 127.0.0.1) but as soon as I add ipv6 (Allow from [::1]) my Apache won't start anymore. I checked the ...
-1
votes
1answer
56 views

Too large 127.0.0.1 connections with nginx - apache2 [duplicate]

I use nginx as proxy-server apache2 and I have a problem with netstat output: $ netstat -ntu | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n 5 109.195.36.169 6 109.195.33.205 8 ...
0
votes
3answers
293 views

VirtualDocumentRoot & localhost

Currently this is my httpd-vhosts.config file NameVirtualHost *:80 <VirtualHost *:80> VirtualDocumentRoot /Users/Gabri/Sites/%2/%1/build </VirtualHost> However I would like to have ...
1
vote
1answer
531 views

Can't access local apache virtualhost using Chrome [closed]

I have a few virtualhosts on my localhost apache, here's the config of one (the others just change the letters before .localhost) <VirtualHost *:80> ServerAdmin admin@dev.localhost ...
0
votes
1answer
32 views

Accessing Local Web server on my LAN error

I have looked at the other questions related to this on SO, Googled and looked in my Window Logs. I have a local web site on a PC that is DHCP assigned. It is a MVC web site using IIS Manager. On ...
-3
votes
2answers
12k views

Why does localhost not work on Windows Server 2008 R2? [closed]

Why does navigation to localhost not work on Windows Server 2008 R2? The expected result is the IIS application hosted on the machine in question to be returned. Navigation to localhost/mySite returns ...
0
votes
2answers
313 views

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 ...
0
votes
0answers
14 views

Pinging <anything>.google resolves to 127.0.0.53 [duplicate]

Ok, this is weird. I didn't know the Google Aprils joke URL (it's http://com.google FYI), so I put http://google.google into my Chrome browser, and got returned a default IIS landing page. Turns out ...
0
votes
1answer
49 views

Ubuntu server does not display any webpage in browser

Initially I was installing wordpress on ubuntu, it does not display wordpress install page, so then I took it off of var/www/html and realize that ubuntu does not display any webpage including the ...
0
votes
0answers
102 views

Simulate load balancing on localhost using IIS and Application Request Routing

I want to simulate website load balancing on my development machine using IIS and Application Request Routing. I was able to "load balance" between two external sites, but trying to do the same with ...
0
votes
2answers
2k views

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. ...
0
votes
7answers
12k views

localhost went “It works!” - and nothing else

I'm working with Mac's built in Apache, and everything was just great UNTIL - something went wrong. I think it's the .hosts file. http://localhost results with "It works!" message, while any ...
1
vote
1answer
697 views

Showing outdated information when using WAMP as local server [duplicate]

I am running WAMP as a local server for the computers in the my network. The problem is that when I try to do any operations to the database from these computers, it seems as if they don't happen, ...
7
votes
1answer
3k views

Failed to connect to 127.0.0.1 port 80

I have running nginx server (doesn't matter which server): $ sudo netstat -tulpn | grep 80 tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 4268/nginx tcp6 0 0 :::80 ...
0
votes
1answer
151 views

Intranet Ip - Access from Custom Domain

I have setup a local intranet in my office using IIS7 (Windows 7 Machine), currently it can be accessed through the PC's static IP, however I would like it so that internally it can just be accessed ...
0
votes
1answer
65 views

localhost != localhost for MySQL/PHP

System: Mac OS X Server 10.6.latest I just switched from the ancient MySQL (<5?) that came with Mac OS X Server to MariaDB 10.1, installed via MacPorts. (That was a whole 'nuther barrel of fun...) ...
0
votes
1answer
110 views

Port redirection with iptables to localhost / blocking the destination port

I like to forward all traffic coming to 80 to be redirected to 8000. I used iptables -tnat -A PREROUTING -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 8000 But then port 8000 is still open to ...
-1
votes
1answer
356 views

OS X 10.10 Localhost Environment using nginx, mysql, and php via Homebrew

I am running Mac OSX 10.10 Yosemite with homebrew. I was using a localhost environment using MAMP and I wanted something that was less of a resource hog and without all the bloated extras. I have ...
0
votes
2answers
392 views

Can View Website on Localhost and By IP on machine but nothing from other machines

I have a centos apache2 webserver which is running and I can view the localhost website from localhost or by http://192.168.0.167 (its IP) through a browser on the machine itself, but if I try to view ...
1
vote
1answer
112 views

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 ...
4
votes
1answer
108 views

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 ...
0
votes
0answers
89 views

Proxmox on localhost network + 32 bits host

I'm working in installing Proxmox on localhost network. Installing the PVE kernel works fine : root@localhost:~# uname -a Linux localhost 2.6.32-14-pve #1 SMP Sat Sep 22 08:55:13 EST 2012 i686 ...
1
vote
1answer
228 views

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 ...
2
votes
3answers
2k views

Redhat doesn't set my desired hostname on reboot

I have a redhat (EL5) server that I need to change the hostname on. I'm trying to put it back into a known state to help with server provisioning activities. As part of changing the hostname, I'm ...
4
votes
7answers
35k views

FTP hangs on: 150 Opening ASCII mode data connection

I am setting up an FTP server on my Windows 2008 server (R2). Everything appears to be installed correctly but I am having trouble using an FTP Client to login to my FTP server. I can remote desktop ...
-1
votes
2answers
211 views

Why does mail always come from @localhost on my ubuntu server from exim4? [closed]

I have an up-to-date Ubuntu Server (14.04.01) and want to be able to send out status e-mails. I've also got 2 other computers running Debian Sid. I have exim4 installed on all 3. I've gone through ...
3
votes
3answers
12k views

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 ...
1
vote
1answer
2k views

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, ...
3
votes
8answers
5k views

SQL Server 08 Express error when connecting to localhost - “Timeout expired”. Works with ::1 or 127.0.0.1

EDIT New info: Navigating to localhost:1434 in Chrome gives me an "ERR_EMPTY_RESPONSE", while other ports give me an "Oops! This link appears to be broken". So it seems to binding ok there? So ...
-1
votes
2answers
859 views

“Connection to host lost” on telnet to port 25 [closed]

i installed smtp4dev to test receive mails in my localserver(xampp) for the registration form here: https://github.com/panique/php-login note: localserver is on port: 8080 my php.ini file for SMTP ...
102
votes
2answers
43k views

Why does my hostname appear with the address 127.0.1.1 rather than 127.0.0.1 in /etc/hosts?

This may be a bit of a noobish question, but I was taking a look at /etc/hosts on my new Xubuntu install and saw this: 127.0.0.1 localhost 127.0.1.1 myhostname On most 'nixes I've used, the second ...
2
votes
4answers
1k views

Best way to run two different websites on localhost [closed]

I'd like to run two websites with XAMPP for Linux on my computer: One for my public website development One for my thesis (bibliography management, abstracts, ...) They are totally unrelated and I ...
88
votes
14answers
77k views

In my /etc/hosts/ file on Linux/OSX how do I do a wildcard subdomain?

I need to test sub-domains on my localhost. How can I effectively have this result of adding *.localhost.com to m /etc/hosts/ file? If it's not possible, how do I work around this problem? I need ...
0
votes
2answers
327 views

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 ...
1
vote
0answers
173 views

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. ...
0
votes
1answer
306 views

Centos services cannot bind on localhost but find on * or specific ip address

I've got a VPS with Centos 6.4 installed. I used to have a VPS at Digital Ocean that when I start PostgreSQL or Monit that bind to localhost, they all work fine. But on the new VPS, when I have ...