Questions tagged [localhost]

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

localhost (all lowercase) (meaning this computer in computer networking) and is the standard hostname given to the loopback network interface.

IPv4

Under IPv4 the standard localhost address is normally assigned to:

127.0.0.1

IPv6

In full notation, the address under IPv6 is:

0:0:0:0:0:0:0:1
549 questions
1
vote
4 answers

XAMPP apache localhost - browsers point to the wrong port even after I changed Listen port back to 80

Running Windows 7. Got a weird problem - I used to use port 8080 for my apache on XAMPP as somehow I couldn't get it to work on 80. I did that by changing the Listen port of /xampp/apache/conf/httpd.conf. A few days ago I changed it back and it…
vemoxy
  • 119
  • 1
  • 3
1
vote
1 answer

.htaccess password protection not working in localhost

I tried to implement htaccess password protection for a directory in my localhost. My htaccess file is situated in /home/Server/Dev. The directory I want to protect is /Dev/. My .htaccess file has the following contents:- AuthName "Restricted Area"…
Sparky
  • 213
  • 2
  • 6
  • 12
1
vote
2 answers

Making websites hosted on localhost available to all on network

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 Windows 7.......
Etienne
  • 273
  • 5
  • 16
1
vote
1 answer

Can only connect to Apache Tomcat with localhost

I can access my web application by going to http://localhost:8080/webapp, however, I cannot access it by using my local IP address. As far as I know, I am using default configuration options. This is also on Windows Server 2008 R2 and there is no…
Jason Rae
  • 141
  • 1
  • 2
  • 8
1
vote
2 answers

How can I connect to a database from another computer?

Hi all I'm trying to access a database that is hosted in a laptop "database_server" from my android device which is both connected to the same network. The project is running at www.database_server:8000/ I've entered the ip: 192.168.1.1 (of my…
jamen
  • 13
  • 4
1
vote
1 answer

Apache fails to serve request or pauses for extended period of time

At seeming random intervals, my page requests will timeout. It happens the most to me when I am working on either a Drupal 7 project or a CodeIgniter project. Chrome gives me the error Error 7 (net::ERR_TIMED_OUT): The operation timed out. and…
Icode4food
  • 175
  • 1
  • 2
  • 13
1
vote
3 answers

Apache on localhost needs restart at every boot

I've set up a couple of test sites to run on my desktop Mandriva 2010, some of them fetch part of their content from the www (i.e. Wordpress RSS plugins, Twitter API, etc). However, at every boot they're unable to connect and retrieve data: I have…
3dolab
  • 11
  • 1
1
vote
1 answer

Nginx + uWSGI on localhost *always* gives 502 Bad Gateway. Any ideas how to solve this?

After a long time on shared hosting, I'm moving my stuff to a VPS and it has become necessary to learn about Nginx + uWSGI to deploy my apps (python). After spending a couple of weeks learning the basics, I'm in the process of setting up my local…
vjk2005
  • 175
  • 1
  • 2
  • 8
1
vote
1 answer

Latency time to sometimes load css or js file to 5s on localhost

I use windows 7 64 bit + xampp 1.74 (apache) You can see in this picture: http://www.pixhost.org/show/2206/6438394_capture.png all that files is on localhost. it takes 5s to response. i checked Why is the response on localhost so slow? but it can't…
meotimdihia
  • 111
  • 1
  • 7
1
vote
4 answers

Best way to run two different websites on localhost

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 don't want one to run on a sub domain of the other…
Coronier
  • 113
  • 1
  • 3
1
vote
1 answer

Sending mail from user@gmail.com to user@localhost

I installed JAMES and added an user user@localhost.com I can send mail from user@localhost to user@gmail.com how can i send a mail from user@gmail.com to user@localhost i tried it but resulted in an error user@localhost is not recognized i haven't…
1
vote
2 answers

JBoss thrown error looking up local address when starting

Hello im installing a fresh Jboss 5.1 in a Centos 5.5 machine. I dont have Apache installed. So when I try to start jboss using the comand ./run.sh I get the following error 15:13:57,414 INFO [JMXKernel] Legacy JMX core initialized 15:14:03,856…
Jeeba
  • 13
  • 1
  • 4
1
vote
2 answers

Can't connect to local server

I'm migrating a client / server application from Linux to Windows and while the Linux version of the server works fine, the Windows version won't connect via localhost. While the program is trying to negotiate the connection I see the following…
Mike
  • 113
  • 1
  • 5
1
vote
1 answer

SSH connection to localhost ssh_exchange_identification: Connection closed by remote host

Setting up SSH access on local machine for a project. When I ssh -v localhost my connection gets refused. With the following stack-trace. OpenSSH_5.2p1, OpenSSL 0.9.8l 5 Nov 2009 debug1: Reading configuration data…
kylewelsby
  • 111
  • 1
  • 5
1
vote
1 answer

Use localhost domain name FQDN for local web project. Did I need to config my Windows DNS?

My local Apache service is running perfectly fine. I am running WAMP. I am trying to configure my .httpd file so that I can access specific projects as fully qualified domain names like: mysite.com ( but resolves to something like…
OldWest
  • 141
  • 1
  • 7