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

Can't run localhost PHP server on OSX Mavericks

So i've done this before but I don't remember the command. I was able to use a directory a localhost file. I've tried sudo apachectl start but when I go to localhost the page isn't found. I've also ...
0
votes
3answers
4k views

Can't ping localhost/or reach locally hosted domain

I can’t reach a locally hosted domain, and in testing I have discovered I can’t ping localhost or the actual IP either. The OS is Windows7 64bit, Pro. DNS works, I can ping others on my network, ...
0
votes
0answers
23 views

Localhost webpage not available on LAMP over Mac OS X 10.10.1

I am trying to setup LAMP on my Mac OS X 10.10.1 I configured localhost folders including /Library/WebServer/Documents/, /etc/apache2/Users/username.conf and Sites folder. A telnet localhost 80 ...
0
votes
1answer
141 views

GAE loading slow in localhost

I am using Google App Engine with Python to learn HTML/Python/Web-development, and since the GAE 1.8.8 update loading an app in localhost is extremely slow, taking up to 60 seconds. Static files still ...
0
votes
1answer
3k 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 ...
0
votes
0answers
8 views

Locally saved webpages linking to *.asc files (instead of *.js, *.css, etc)

I've got a php page, and someone wants a non-working "mockup" (i.e. just static html). Easy, right? Open in browser, and then save the page, and voila; html with all the php stripped out. Only I do ...
-2
votes
4answers
4k views

http://localhost/ now working in browser mac

in snow leapord machine http://localhost/ isn't working through browser. But when I ping http://localhost/ I do get successful replies PING localhost (127.0.0.1): 56 data bytes 64 bytes from ...
2
votes
2answers
3k views

Deny access to a port from localhost on OSX

I want to test a fallback strategy for my memcached driver (in case port is protected by firewall). How can I deny access to a specific port, on 127.0.0.1?
0
votes
2answers
26 views

How to access webpage running on remote server?

I have an instance of Ubuntu 14.04 LTS running on Google compute engine. I installed Cloudera manager on the instance and it is running administration web pages on localhost:7180. I am using port ...
1
vote
1answer
23 views
0
votes
1answer
19 views

How to install phpBB styles on localhost?

I have been trying to test phpBB in xampp within windows 7 for development purposes. After a successful install of phpBB, I tried to add styles(themes) to my phpBB install directory. I downloaded and ...
1
vote
0answers
18 views

Static html pages run from file system instead of built-in web-server

I'm running Intellij 13 Ultimate. I'm trying to open a web page I'm working on, and it's opened from the file system: file:///Users/<username>/dev/index.html Instead of something like: ...
1
vote
0answers
12 views

How to force Apache to release filelocks?

To be honest I already posted on StackOverflow, and on searching for a resolution as no feedback there as yet, this site appeared, and it appears a separate login, so forgive me if I am duplicating ...
0
votes
0answers
2k views

Enabling access to my localhost/WAMP server WordPress on a LAN

Listening on port 80 by default. Tried this in httpd.conf, which worked somewhat: <Directory /> Options FollowSymLinks AllowOverride None Order allow,deny Allow from all ...
0
votes
1answer
8k views

How to connect android client to the localhost of Apache server (php) inside my laptop?

I'm trying to create android apps which are able to send data through wifi connection to my laptop Apache Server and MySQL database. I use the samsung galaxy tab 10.1 as my mobile device. and the ...
1
vote
2answers
43 views

How can I use curl with ::1 for ipv6 based loopback?

I tried a few ways but they seem to be confusing curl. root@testt:~# curl localhost:8080 <h1>Hello world!</h1> <p>Boom Bam Splat</p> root@testt:~# curl ::1:8080 curl: (3) ...
1
vote
3answers
11k views

How can I make localhost resolve to 127.0.0.1 instead of ::1?

When I ping localhost the address resolves to the ipv6 loopback of ::1 My MySQL and Apache installations expects the ipv4 address of 127.0.0.1 How can I configure my WindowsXP to resolve localhost ...
0
votes
1answer
58 views

How do i establish a filezilla connection to my windows localhost?

I have downloaded Filezilla Server and FileZilla interface itself. I am having problems when trying to connect. Can you please guide me on how to precisely connect to the FileZilla server on my ...
0
votes
1answer
2k views

How to access localhost website from another computer?

I am running IIS7 on Windows 8.1. I want to access my asp.net mvc site from another computer within the same local network. I tried my IP address instead of the localhost. I am getting not found 404 ...
0
votes
0answers
37 views

Apache 2.4 Yosemite not working offline – localhost unavailable

When I am connected to the internet I can view my /user/username/sites folder on my mac through a virtual host (username.dev). However when I disconnect from the internet, I can no longer navigate to ...
0
votes
1answer
44 views

How to configure linux to display webpage at localhost 127.0.0.1 that allows javascript-issued terminal commands?

Sorry if I am confusing things (don't know much about this topic). Basically, I want to access my raspberry pi wirelessly from my phone as long as I am within a few meters of it, and in this situation ...
9
votes
7answers
1k views

The easiest way to serve a page to localhost on OS X

I have a page that I need to serve on localhost for the fonts to appear properly. What is the easiest way to do this (on a Mac)?
0
votes
1answer
399 views

Is it feasible to connect to localhost from iPhone, while my Mac use Thunderbolt Ethernet, not Wi-Fi

I've been building up a Web app and want to test it in my iPhone in order to check that the responsive functionality works properly in mobile devices. When I develop it on my MacBook Pro, which ...
0
votes
1answer
37 views

Why is my apache server address ::1 and not 127.0.0.1

I am using bitnami wamp on windows 7 running apache 2.4 and I am having a problem. The server address of the apache server shows ::1 instead of the expected 127.0.0 1 Is apache using ipv6 by default ...
0
votes
1answer
30 views

How to stop mac from auto port forwarding requests from localhost?

I have an application that is running and listening for local requests on port 4001. Whenever I start a second application to place requests through port 4001 my mac appears to be automatically ...
0
votes
0answers
9 views

How to identify the database and took backup from another server?

Please guide me in this situation. I have two domains domain1 and domain2, both domain are registered from the different provider but hosted on the same server (server1). My question is that if I ...
11
votes
3answers
7k views

How to prevent Firefox converting 'localhost/*' URLs into search queries?

Since upgrading from Firefox 3.6.x, my address bar has a quirk that never used to be there. When I type in, for example: localhost/my_dir/index.php Firefox turns it into a search query, my search ...
0
votes
1answer
46 views

Turn off a computer on the network

I have tried to follow the instructions on this site: http://www.youtube.com/watch?v=jV_BHcbeKEs It works if i activate the administrator account on the pc i will turn off and do not have a password ...
0
votes
1answer
336 views

dnsmasq not working without internet connection in OS X Yosemite

No0b here. I have been trying to setup a local environment for web development on OS X Yosemite using these approaches (http://passingcuriosity.com/2013/dnsmasq-dev-osx/ and ...
6
votes
5answers
50k views

How to allow remote access to my WAMP server

I have developed a site using WAMP and it's working locally. I want to give access to other users, and when I put the server online and put my IP to the browser it's working. When I put the IP into ...
0
votes
0answers
51 views

Uninstalled Apache, but still see test page

I recently installed Apache HTTP Server from Apache Haus and PHP, and have decided I'd like to experiment with a few other options, so I uninstalled and deleted them. However, when I visit localhost ...
4
votes
3answers
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 ...
10
votes
2answers
3k views

Why is “It works!” showing up at my http://127.0.0.1 (localhost)?

So, I was playing around with Java sockets, servers and streams, the other day, and I decided, purely out of curiosity, expecting no good results, to open Google Chrome and navigate to 127.0.0.1, and ...
16
votes
3answers
3k views

Curl local host names on Mac OS X Yosemite

I just upgraded from Mavericks to Yosemite, and now curl can't see loopback host names. Set up a simple http server to test: $ python -m SimpleHTTPServer Serving HTTP on 0.0.0.0 port 8000 ... Now ...
0
votes
1answer
75 views

Access localhost ( running on Mac OS X ) from another machine in the network

I have a REST service running on Mac OS X, which im currently accessing using "localhost:8888" and "10.0.2.2:8888" I want to access the same service from another computer which is in the same ...
2
votes
2answers
176 views

Localhost aliases in Mac OS X mysteriously stopped working

For whatever reason aliases for my Mac OS X localhost seem to have suddenly stopped working. Presumably follow some update caused this, although I”m not sure what. Here’s my hosts file: ## # Host ...
0
votes
0answers
27 views

How to access localhost offline?

I have set up XAMPP server and I'm working on few sites in my local server. I see that I cant access localhost unless connected to internet. Is there any way I can access localhost without connecting ...
0
votes
4answers
55 views

Does Apache need firewall access for code server requests?

Would just like quick clarification on something. For a development stack such as LAMP or XAMPP for a local server; does Apache require access over the firewall (e.g. port 80) if, for instance, some ...
0
votes
0answers
184 views

How to configure to send emails from localhost pc with postfix xampp and xubuntu configuration

I am building some website and for testing purposes i need to configure somehow to be able to send emails from my pc. I have xubuntu installed on my home pc and xampp for local development. I have ...
3
votes
1answer
239 views

Localhost tcp throughput performance differences

I have been using psping for measuring bandwith statistics on localhost on different computers: laptops, home computers and servers. All of them get to between 100 and 200 MB/s but my PowerPc at work ...
0
votes
1answer
41 views

MAMP “localhost” doesn't work unlike 127.0.0.1

What to do to fix this? my etc/hosts file looks like this: 127.0.0.1 localhost and using terminal with command: file -b /etc/hosts i got ASCII English text, with CR line terminators but ...
0
votes
1answer
146 views

Why can't Chromium connect to http://[::1]:8080/ (i.e. IPv6 localhost)?

For developing a statically generated website on my laptop running Debian, I use weborf running on IPv6 localhost, port 8080: weborf -i ::1 -p 8080 -b .. I can connect to http://[::1]:8080/ without ...
0
votes
1answer
290 views

Excel 2013 MySQL Database Connection - SQL Server does not exist or access denied

I recently set up the most basic possible version of MySQL 5.6 and created a test schema in which a test table was placed. The connection is just named "Local instance MySQL" with host "localhost", ...
0
votes
0answers
19 views

IIS Sharing LocalHost

On my IIS I have a webserver running on my local host I want everyone to be able to see. So for the iisstart page I put the code to redirect to the page, However I get 404, When I connect to it from ...
0
votes
4answers
27k views

How to change default browser to open localhost in wampserver

When I installed wampserver on my computer. I didn't have firefox or any browser installed. Because I also disabled Internet explorer. How do I manually set the default browser that opens up localhost ...
0
votes
1answer
534 views

MySQL server: Error 1067 (in services.msc) and Error 10061 (in mysqld console) - what troubleshooting may be attempted?

I'm trying to install MySQL Community edition on a Windows 8.1 machine. To sum up the problem: whith the .msi installer I get MySQL registered as a service, but unable to start (error 1067); with a ...
3
votes
1answer
60 views

localhost declaration on PC?

I was wondering , where does windows declares that localhost is - the machine itself (where is it configured?) ? It is not in the hosts file. I thought it is in the Registry but I couldn't find ...
0
votes
0answers
36 views

xamp localhost website not found

My localhost could not work despite trying changing to 8080 instead of 80. But xampp control panel shows apache, mysql working. Look for many solutions on the web but doesn't work hope to solve it ...
2
votes
2answers
17k views

http://localhost:8080 is not working on running apacher Server through XAMPP

I am unable to configure a PHP/MySQL/Apache environment on my local machine using XAMPP. In my xampp control panel the Apache and MySQL status is shown as started, but localhost URL is not working. ...
0
votes
0answers
52 views

WAMP 2.5 hangs my Windows 7 SP1 laptop as soon as it starts

I am using WAMP 2.5 with local folder (localhost/websitename) setting. Every time I open WAMP (when internet is connected) it hangs my laptop for a number of minutes and the only option I have, is to ...