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

13
votes
5answers
24k views

Is there a way to get wireshark to capture packets sent from/to localhost on Windows?

Is there a way to get wireshark to capture packets sent from/to localhost? When I monitor traffic going from my computer to another, or from another computer to my computer, then it works. But ...
0
votes
0answers
2 views

Can't connect to socket listening on 127.0.0.1 but works for 'localhost' [migrated]

I have a clean install of Windows 10 Pro x64 and I'm trying to run postgresql server on it. It used to work perfectly on Windows 7, but Win10 is behaving really weird: if I configure postgres to ...
1
vote
1answer
39 views

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 ...
15
votes
9answers
27k views

MySQL cannot connect via “localhost”, only 127.0.0.1

this is somewhat of a mystery to me. The only way I can connect to MySQL is if I call it via "127.0.0.1" ... for example, my PHP connect script will NOT work with localhost I'm running Mac OS X Lion, ...
0
votes
1answer
24 views

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 ...
91
votes
14answers
80k 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 my /etc/hosts/ file? If it's not possible, how do I work around this problem? I need ...
0
votes
0answers
18 views

Is it possible to make apt-cacher not cache specific repositories

We have a environment currently setup with Apt-Cacher and it is working great. I am in the process of making a local Debian repository for custom packages that we crate in house. I can serve the ...
0
votes
1answer
26 views

cant connect esl to freeswitch

im trying to connect an application to FreeSWITCh using ESL. the code is ok (it works on other machines) but on one installation its not connecting. im trying to connect to localhost:8021 but the ...
0
votes
3answers
80 views

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

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 ...
-2
votes
1answer
33 views

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

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
181 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
15 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
vote
1answer
39 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
47 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
29 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
2k 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
1k 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
50 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
47 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
90 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
77 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
308 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 ...
2
votes
1answer
1k 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
71 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
13k 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
404 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
15 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
93 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
131 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
13k 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
749 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, ...
8
votes
1answer
4k 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
158 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
83 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
155 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
415 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
398 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
147 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
120 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
109 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
265 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
38k 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
248 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
13k 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, ...