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

1
vote
6answers
3k views

Can't SSH into a Vagrant Virtual Machine

Local Vagrant machine installed at IP address 10.0.0.23 with hostname lamp-vm. Using vagrant ssh command, I can connect just fine and do everything I need. This creates an error $ ssh ...
0
votes
1answer
27 views

browser downloads site page on nginx server

I have a wordpress copy on nginx on my localhost. when I wants to open it with browser, the browser just downloads a php file and does not open the site. my /etc/nginx/nginx.conf file cotains: user ...
0
votes
0answers
5 views

ipfw rules not affecting localhost

I am having an issue getting ipfw to configure network delay on traffic on localhost (WinXP). I wrote a very basic batch file with the following commands ipfw pipe 3 config delay 300ms ipfw add pipe ...
-1
votes
1answer
24 views

Can't access localhost on a VM Windows Server 2012 Azure

Hi I'm new to VM Technology. I have a Microsoft Bizspark Account with Azure on it. I created a Virtual Machine, Windows Server 2012 and installed Xampp on it. Yeah I know it would be better to use IIS ...
0
votes
0answers
44 views

How to setup testing environment for local HTTPS website?

I'm developing a web application on a local Ubuntu machine. Some IE8 users have problems with Javascript when the application is loaded over SSL. To debug this issue, I need to reproduce the problem. ...
1
vote
2answers
1k views

Accessing virtual hosts on the host OS from a guest OS in VirtualBox

Through VirtualBox, I need to access the host's (Mac OS X 10.6) virtual hosts through guest OSs (Windows XP and 7). I am able to access the localhost URL and can see the directory structure of the ...
23
votes
13answers
42k views

Why is the response on localhost so slow?

I am working on a tiny little PHP project for a friend of mine, and I have a WAMP environment setup for local development. I remember the days when the response from my local Apache 2.2 was immediate. ...
3
votes
6answers
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 ...
0
votes
0answers
3 views

How to see my own domain from host server? [migrated]

I'm using Apache 2.4 running on a Windows 7 machine and I'm unable to use http://example.com from that machine, although it works fine from any other machine. I tried to work around by using ...
0
votes
1answer
968 views

Server error 500 when adding .htaccess file in the root folder

I read a lot of server error 500 questions related to the famous .htaccess file but I have still not found an answer to this error. I have a folder which I used to test the .htaccess file. ...
4
votes
3answers
748 views

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

Can't connect to MySQL server on 'localhost' after changing TCP/IP Port

When I change the TCP/IP Port the MySQL Server will listen on port=3306 to port=3808 in my.ini, my Django project works very well. Navicat also can login in to mysql with same user name and password. ...
1
vote
1answer
47 views

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

Set up postmaster using Postfix on Ubuntu 14.04

I am in need of serious help. I have been on Google, Stackoverflow, Postfix's website and numerous forums. I am officially stuck, I even tried to replicate another machine's config files. The ...
1
vote
1answer
967 views

New Relic JavaScript

I have a problem, I was logged in at New Relic, but didn't install anything. After that, my Chrome suddenly adds a weird JavaScript snippet to my localhost only, on AMPPS. How to get rid of this, as ...
1
vote
1answer
740 views

Windows Server 2003 - Block port on localhost

We have a misbehaving daemon running on one of our Windows 2003 Servers. It telnets into localhost:5115 I have a feeling that if I can stop it from telnetting into localhost I can get it to fail ...
1
vote
2answers
83 views

Apache on both host's localhost and VM's localhost

I'm using Windows 7 as host OS and xUbuntu installed on/as VM using Virtual Box in forementioned Win 7. I have Apache installed on both systems. I use Windows 7 Apache for my personal projects and I ...
62
votes
13answers
54k 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 ...
1
vote
1answer
54 views

ubuntu 127.0.0.1 not working, going timeout

Today i've restarted my ubuntu 11.04 server and now the 127.0.0.1 is not working anymore, it still loading for a while and then timeout. I've tried to make a traceroute and this is the result ...
0
votes
3answers
901 views

Assigning Multiple IP Addresses to localhost OS X 10.6

I'm attempting to host multiple website locally with HTTPS enabled, but in order to do this I'd need to configure my local machine to use multiple IP address for localhost (I believe). Is there any ...
1
vote
6answers
18k 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 ...
0
votes
0answers
36 views

SMTP - Apache SOLR - Localhost to Server

I'm developing a single page application (ajax-php-mysql) using XAMPP (localhost). The app needs to be able to send out quite a few emails per day, not anything crazy like 100,000 but I do suspect it ...
1
vote
2answers
580 views

How to exclude local traffic from AWStats reports?

I have AWStats configured to run on my website, but I would like it to exclude hits coming from myself (localhost) that are seen as originating from these ip addresses: 127.0.0.1 192.168.0.1 How ...
0
votes
2answers
261 views

Access IIS 8 Localhost from internet [closed]

i want access my localhost(IIS 8 On Windows 8) from outside using internet access. I get my public ip from whatismyip.org (202.67.xx.xx) and follow this link to open a port(80,443,8081-8082). So i ...
1
vote
2answers
123 views

Connect to Mysql from internet works, but when i try from mysql query browser it's failed (Err. 2003)

i can connect to mysql-phpmyadmin throught internet from browser(i.e google chrom), but when i try it from mysql query browser it's always failed. It's always show error 2003. i already created ...
-1
votes
1answer
68 views

IIS7 localhost default location troubles

new member here and am stuck with an IIS7 issue. I'm running Windows Server 2008 with IIS7 and my sites are located under C:\inetpub\wwwroot. I have a few sites running with host headers on there but ...
1
vote
2answers
154 views

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

Setting up Virtual Hosts in XAMPP on Windows [closed]

I'm having trouble setting up some virtual hosts using XAMPP. The machine name is server02.bb.net and is only accessible on the Intranet. I want other machines on the network to be able to see the ...
0
votes
1answer
78 views

tftp times out on localhost

On the same server, I can't connect to my in.tftp over localhost name: $ tftp localhost -c put test.file && echo Sent\! Transfer timed out. $ tftp 127.0.0.1 -c put test.file && echo ...
67
votes
2answers
24k 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 ...
1
vote
1answer
42 views

Domain and IP should have different DocumentRoot

the Domain points to an IP / Server. But I like to have different documentRoots if the server is accessed via IP or via Domain. Therefore I build this configuration: NameVirtualHost *:80 ...
1
vote
1answer
397 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, ...
1
vote
1answer
45 views

apache/vhosts how to specify what project is loaded at 127.0.0.1

I run MAMP on my mac book and have many projects. I use a single httpd-vhosts.conf for all my vhost configs. In one of my apps I need to have a 3rd party API redirect to my app at 127.0.0.1/[route]. ...
11
votes
8answers
11k 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, ...
6
votes
3answers
1k views

DNS Lookups for local MAMP web server URL taking 5+ seconds

I'm running MAMP on OS X 10.7. I've set up a virtual host in Apache, like so: <Directory "/sites/example.com/"> Allow From All AllowOverride All </Directory> <VirtualHost *:80> ...
0
votes
3answers
61 views

Can I set up port forwarding to emulate not just a port but another IP address?

I am running a proprietary Windows application which functions like a server. You install the program, and then it broadcasts itself over port 13083. The program is web-based, so it's accessed ...
0
votes
2answers
2k views

nginx with php-fpm downloading php files rather than executing them on mac os x (local environment)

I'm having trouble getting PHP files to execute on my local development machine. I seem to have successfully installed nginx and php-fpm also seems to be correctly installed, and running but can't ...
0
votes
3answers
925 views

cant access my local web server with the external IP [closed]

I havent been able to find a solution to my particular problem. I have a MAC which I set up as a web server and configured my router to forward to the local IP. When trying to access my site from ...
1
vote
2answers
2k views

Making websites hosted on localhost available to all on network [closed]

I have a website hosted in IIS on my local PC If I go to http://localhost or http://192.168.1.1 my site comes up. But what must I do to let other users on our network to see my site? I am using ...
-1
votes
1answer
63 views

Running localhost webapp projects under domain name using fiddler2

I have a Tomcat server running on my local dev machine(running Windows8) & I use fiddler2 to assign an alias to localhost as my domain name (www.mydomainName.com), so my application webpages open ...
1
vote
2answers
120 views

Spoof database connection to be local instead of remote

I am trying to connect one of our clients "as is" programs to a remote database instead of a local one, they think that they have coded it to work that way, but for some reason the program crashes ...
0
votes
1answer
144 views

Bypass IIS Basic Authentication for localhost

I'd like to have a website authenticated with basic auth, but then also allow the website to access itself locally. That is, I want to allow unauthenticated access only from localhost. In IIS I have ...
0
votes
1answer
111 views

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

Ubuntu server not using localhost IP for internal communication

I am using Ubuntu Server 13.04 on my mail system. I am just setting the Postfix and Amavis. In every config for communication I am using 127.0.0.1 as IP address to pass mails to amavis. When I look to ...
1
vote
1answer
228 views

.htaccess - Simulating virtual host wrong link to Parent Directory in Directory Listing

I have a domain dedicated for my local server (.dev), and an .htaccess file which redirects requests like http://folder.dev/subfolder/ to /htdocs/folder/subfolder. It works great and all, except for ...
0
votes
1answer
141 views

Bind9 as a caching resolver fails with mismatch ID on localhost but not external IP

I'm running Ubuntu 12.04 LTS on a machine on my private network. I have bind9 installed (v9.8.1-P1) via aptitude, so it appears to have put all the bits in the right places and the service starts ...
2
votes
2answers
373 views

IIS7 on localhost: sub-domain can't be seen externally only by local machine

I have setup a site on localhost (Win7 32bit) that can be accessed locally or by other machines on our network using http://meeting-room however the sub-domain http://admin.meeting-room can only be ...
1
vote
1answer
112 views

Zenoss modeling localhost

Immediately after installing it, Zenoss appears to try to model the server it's installed on. That's fine, but I only understand how to configure Zenoss to model a server via snmp, ssh, or some other ...
-1
votes
2answers
164 views

Forwarding the endpoint (at localhost) of an SSH -L tunnel to another machine

Even after long searching and trying I'm not able to solve the following puzzle: Client A --------------------------> Server B (172.26.15.15/24) ssh -L 4321:localhost:4321 Server C ...
0
votes
3answers
265 views

Redirect localhost requests to a Linux container

I run some linux container on my ubuntu host. Each one of them are running a webapp. To be able to access these webapps, I use iptables to forward port: sudo iptables -t nat -A PREROUTING -p tcp ...