`localhost` usually refers to the special addresses `127.0.0.1` and `::1` that map to a loopback device, which allows a computer to connect to itself.

learn more… | top users | synonyms

1
vote
1answer
1k views

404 not found error for JavaScript files when accessing web page on localhost

The page loads up fine, but console shows a 404 not found error for JavaScript files. I have verified that the code contains the correct JavaScript file name. Any ideas? The JavaScript file is loaded ...
0
votes
2answers
157 views

How to configure and access both local and remote versions of same website/domain?

I am working on a client's website which is currently hosted on an external remote server. I downloaded a copy of the site to my local computer, which is running a 'LAMP stack' set up on Arch Linux, ...
0
votes
1answer
352 views

How do I install userscript from the local machine with GreaseMonkey 1.12 (2013 autumn)?

I use Greasemonkey 1.12 with Firefox 24. I have an userscript file on my computer. I cannot find the way to install my already written userscript from my local machine - how it is done? There used ...
1
vote
1answer
314 views

Mac listening on port 80 for both IPv4 127.0.0.1 and IPv6 ::1 with SSH tunnel, but connection is not possible with IPv4?

I am connecting with openssh to a remote server, running a web server which I need to access as if from the server itself. Therefore I use ssh-tunneling, like this: sudo ssh -L 80:127.0.0.1:7065 ...
-1
votes
4answers
2k views

localhost as hostname confusion

I have a basic understanding about hostname and FQDN. Now I am confused, do I really have to specify a name for my hostname? So for example: Hostname: somename Domain: mydomain.com FQDN: ...
1
vote
1answer
94 views

Sharing the Local IIS application using Web Server

We have an Asp.net Web application with Oracle DB as backend, configured in windows server 2012 IIS (8.0). I want to share the local server application URL using another web server which is connected ...
1
vote
0answers
397 views

How to change localhost to ping 127.0.0.1

I am using windows xp sp2. Whenever i ping localhost it resolves to ::1 if network cable is connected. If i remove network cable then localhost resolves to 127.0.0.1. I do not know about this strange ...
0
votes
0answers
624 views

Localhost has just stopped working (using xampp)

I installed Xampp to use for local development of a Drupal site. Its been working fine out of the box until now. The main Xampp localhost welcome menu loads, however my subdirectory ...
0
votes
1answer
73 views

Setting subdomains on Localhost

I'm trying to test a multi-tenant application locally by setting a subdomain on localhost. The application is currently running on localhost:5252. In my hosts file I added the following: ...
38
votes
2answers
12k views

Why is my “localhost” not 127.0.0.1? [duplicate]

When I use the Ping command to ping my localhost, it doesn't show up as 127.0.0.1. C:\Windows\system32>ping localhost Pinging GIGA [::1] from ::1 with 32 bytes of data: Instead, it shows up ...
0
votes
1answer
1k views

Cannot install XAMPP as something already exists

I was trying to install XAMPP on a friend’s Windows 7 laptop. First, it gave me the error message that it could not install to C:\xampp as the folder was not empty. I had a look at the folder ...
1
vote
1answer
615 views

Can view IIS8 web site at localhost, but not at 127.0.0.1

My ultimate goal is to be able to view my local IIS web site from a different device on my LAN. I started by attempting to access the host's IP address, but that failed, so I did some reading and ...
1
vote
0answers
47 views

HOSTS mapping not working as expected

I'm running a local Webmatrix configuration which uses IISExpress as webserver. For convenience's sake, I have configured my remote development setup (http://godrul1.gopagoda.com/) to ...
1
vote
2answers
1k views

Wamp's localhost taking so much time on opening

I have following configuration for WAMP on local machine Windows 7. When I try to open localhost from WAMP Notification icon, it's taking so much time (around in minutes). Even phpmyadmin is taking ...
0
votes
1answer
167 views

cant connect to rumpus server via local ip on macbook pro

Today I wake up and my MacBook pro can no longer connect to my Rumpus server via the internal IP address. Every other machine in the house can connect to the server GI n the browser via the ...
0
votes
1answer
398 views

Localhost on the internet

How can I set online my localhost? I am using XAMPP. How can I access to my localhost from another computer? I have tried using DynDNS, but I could not configure it properly, I think.
0
votes
1answer
250 views

Redirect all HTTP requests to a website

How to configure windows to open the same static html page for all HTTP browser request. For example if the user types http://www.google.com, my static Index.html will be shown.
0
votes
1answer
271 views

Vmware host: accessing a forwarded port from a virtual host

A windows host machine (which dynamically has the address 192.168.227.1) runs (i) an ssh tunnel with port forwarding (forwards the port localhost:5432 with the following command: autossh.exe -M 2000 ...
1
vote
2answers
943 views

How to run localhost or local website within Powerpoint?

I have a demo coming up and I kind of want to show off different Javascript applications within the presentation. I was wondering if there was a way to run localhost, or web applications locally, ...
2
votes
2answers
468 views

Can I test my local e-mail server without setting up a domain?

I've set up an e-mail server set up(MailEnable) and I'd like to be able to test it locally. That is, when I send an e-mail from my Outlook client, I want it to go directly to the server on the same ...
5
votes
1answer
101 views

Broswers open localhost instead of remote server

When I try to access my domain http://www.ylog.in , all browsers in my system opens localhost (Where I have Apache2) instead of my remote server hosted at heroku. But when I open the domain via proxy, ...
1
vote
1answer
351 views

Can't access localhost on my browsers

I've just installed mamp for the first time onto my mac and I'm trying to view some PHP files I've loaded into the htdocs section of mamp. When I type localhost into my browsers, it says it can't ...
0
votes
1answer
68 views

Terminal host changed

I opened terminal today and realized that the usual startup text: my-macbook-pro:~ myUsername$_ has been replaced by: mscs256-24197:~ myUsername$_ I tried googling but couldn't find anything. ...
2
votes
3answers
1k views

creating a domain from my home router that connects to my development machine

I am very noob and new to anything that deals with network issues. I have a problem that I have been researching but can't really find direct answers to. Bassically, my problem is the following 1) ...
1
vote
2answers
1k views

Problems running xampp

I was having trouble with xampp. I uninstalled it and since I've tried reinstalling it, cannot get it to work. My first error was that port 80 was being used. As addressed here. Now it is telling ...
1
vote
1answer
1k views

Waiting for response from 127.0.0.1

I'm using a workstation with Windows 7 Pro 64bit; IE version 9.0.8112.16421 (update ver. 9.0.18). I'm using a local facility (WAMP or AMPPS) and a WordPress installation for website testing. I have ...
1
vote
2answers
338 views

Install a PEAR package without an Internet connection

I'm trying to install a package via PEAR, PHPUnit to be precise. However, the server I'm using is not connected to the Internet. I managed to find a .tgz of PHPUnit in its PEAR repository at : PEAR ...
0
votes
1answer
157 views

Postfix will not send/receive mail

I recently installed postfix, among other programs, and have been configuring it. POP3 and IMAP are working just fine, but postfix seems to fail: # telnet localhost 25 Trying ::1... Trying ...
0
votes
0answers
821 views

Can't access my site from a external pc with xampp

I have a problem with XAMPP. I can't access my site from an external pc, but I can access the welcome site "Welcome to XAMPP for Windows!", so if a friend types my IP he can access the XAMPP welcome ...
1
vote
1answer
262 views

localhost:3000 is redirecting to www.localhost in all browsers

This is happening on OS X 10.8 in both Chrome, Firefox, and Safari. There is currently nothing running on port 3000 so I cannot imagine it is related to the Rails project there. It seems to be system ...
1
vote
1answer
211 views

When I ping valid URL without www resolves to localhost instead of host server IP

I'm having a problem where a valid URL kerfpress.com (without www.) is bringing up localhost when I ping on my Mac. $ ping kerfpress.com PING localhost (127.0.0.1): 56 data bytes 64 bytes from ...
3
votes
1answer
795 views

Firewall blocks localhost but only if it's turned on

I run XAMPP server on my Windows XP. If I try to access to http://localhost or http://127.0.0.1 it gives me this error: Could not connect to remote server This only occurs if my Comodo firewall ...
0
votes
1answer
287 views

Magento Localhost Installation - LAN Works - WAN Issues?

I’m new to home servers and Magento. Running Ubuntu Server 13.04 with LAMP and Magento Commerce 1.7.0.2 on a dedicated home server. I've already configured my server's static IP, router's firewall and ...
4
votes
1answer
4k views

Kill what ever is running on port 8080

I am trying to run a GAE app on localhost 8080, but it was apparently occupied, even after shutting down and restarting my computer. I ran sudo lsof -i :8080 lo and behold there is something sill ...
0
votes
2answers
456 views

Apache on Mac: vhost looks for wrong directory (other than DocumentRoot)

I just un-installed XAMPP and decided to take into use the Apache included within OS X. After a lot of fiddling around I've gotten it to somewhat work, but not quite. I use VirtualHostX for managing ...
2
votes
1answer
5k views

How to access localhost with a port on a Virtual PC

I installed a Virtual PC with Windows7 and opened connection to my machine's localhost. My computer's name is memphis, I added the following line in hosts file: 127.0.0.1 memphis and I also ...
0
votes
1answer
2k views

Oracle11g localhost:1158/em not connect

In my Windows 7 professional edition, I installed Oracle Database Express Edition 11g Release 2 which is downloaded from Oracle.com. The SID is 'orcl', username is 'system'. When I attempt connect to ...
2
votes
2answers
2k views

Browsing to localhost is slow when connected to Internet

When I browse localhost in my browser when connected to the Internet, the response is slow; it takes 30 seconds or completely times out. When I disconnect from the Internet, it is blazing fast and ...
2
votes
1answer
553 views

Website is resolving to localhost?

For some reason, the website funshion.com resolves to localhost (127.0.0.1) when I run it on tracert. The website should, of course, go to the website, not to my computer. Basically, Funshion is a ...
1
vote
1answer
180 views

Links from Localhost not working

After I type "localhost" in my browser the index.html successfully loads. However any to the links on that website appear to be dead. Once clicked, nothing happens. I see the right path in the path ...
-1
votes
1answer
191 views

trouble with Wordpress (Buddypress) localhost installation?

I installed wordpress in localhost using Xampp and Bitnami it works well at the begin and I install also Buddypress plugin and start working on the website . Today however it suddenly stopped ...
0
votes
1answer
398 views

How do I add custom DNS server and preserving default DNS of ISP in OS X Mountain Lion

I'm using OS X Mountain Lion. I'm using dnsmasq to set up wildcard localhost domain names, such as http://local.dev, to point to localhost. But I have to add 127.0.0.1 in my system preference -> ...
1
vote
0answers
135 views

Why is “localhost” slower than “127.0.0.1” in Google Chrome - Windows 8? [duplicate]

There is a very similar previous question and answer, but for windows 7 and/or earlier versions of Google Chrome, here: Is there a way to disable IPv6 in Google's Chrome? That solution no ...
1
vote
0answers
218 views

Access localhost with domain alias via VM

I have a local development environment that I have setup using MAMP on OSX, on the default Apache and MySQL ports (80 and 3306). In the hosts file I have setup custom domains for my sites, eg. ...
2
votes
0answers
322 views

How to remove all autocomplete urls with a certain url in Chrome

I am converting my localhost:8888 to localhost and I want to remove all the autocomplete urls that have localhost:8888 in them. I already did this for history but how do I do this for autocomplete? I ...
0
votes
1answer
139 views

Checkmark next to website title in browser tab?

I'm developing a site on my local machine, and on every browser after the document is ready a checkmark is prepended to the corresponding tab. There is a noticeable small delay before this ...
0
votes
1answer
293 views

Bridge Windows 8 Guest in OSX Mountain Lion Host Virtual Machine for local development

I'm trying to test in a local development environment before committing to my team's repository. Host OS - OS X 10.8.2 Mountain Lion Guest OS - Windows 8 I am running VMWare Fusion 5 as a virtual ...
-3
votes
1answer
2k views

No “localhost” or “127.0.0.1” in Ubuntu 12.10

After installing Ubuntu 12.10, I tried intalling Metasploit (ruby already installed). First, I get: [-] Failed to connect to the database: could not connect to server: Connection refused Is the ...
1
vote
0answers
115 views

Localhost via WAMP doesn't connect

I needed to change the default port wamp was listening to, so now I need to use another one, let's say 81. So now instead of going to http://localhost now I need to go to http://localhost:81. No ...
1
vote
1answer
247 views

Pages of website returns a WAMP homepage on my LocalHost?

Using WAMPSERVER for windows 7, smartgit and Safe Search Replace I have done the following steps: Pulled a wordpress code from a github repository using smartgit Downloaded the database from the ...