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
1answer
320 views

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 ...
1
vote
3answers
78 views

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

How do I access the web server on my desktop from my laptop?

I'm running Apache on my stationary and I would like to access a website through my laptop. This is some of the Apache config: NameVirtualHost 127.0.0.1:80 <VirtualHost 127.0.0.1:80> ...
-1
votes
2answers
2k views

Xampp LAMP server: localhost:80 requires a username and password

I would installed xampp in my system but when i try to run my localhost following message will appear "The server localshost:80 requires a username and password.please help
0
votes
1answer
4k views

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

Hosting and application on local IIS

I have an application which I can access from my own computer using the following url: http://188.24.7.228/PetitionsApp/ But this fails if I try to access it from other computers. Is there a setting ...
0
votes
1answer
119 views

Cannot access application after installing ipv6 on xp

I have a tomcat webapplication running on 8080 which will fetch xml from another application at 4040, both running on a xp machine. Everything was working fine until I installed IPv6. Now I cannot ...
0
votes
1answer
209 views

wamp - What is the 'root' user, and why does it appear under localhost and '127.0.0.1'?

I created a new db in WAMP, and I note that under the 'Privileges' tab that list the users I have one user that I didn't create, named 'root'. What is it? It is listed twice, once under 'localhost' ...
0
votes
2answers
767 views

wamp - What do “global” and “database-specific” privileges refer to?

I'm pretty much a newbie with MySQL and WAMP. I just created a new db on localhost, which I called "admin" (original, huh?). On the next page after the creation, the user shows up with 2 lines under ...
0
votes
4answers
196 views

where does port 8080 redirect

that might be a bit of a silly question 127.0.0.1 redirect to the index.html page on /var/www/ 127.0.0.1/drupal redirect to /var/www/drupal etc but when I add port 8080 127.0.0.1:8080 where does this ...
0
votes
1answer
1k views

sendmail helo rejected localhost.localdomain

I set up a Server A with sendmail running, just for sending emails for other Servers. I put: Connect:[Server B's external IP] RELAY in /etc/mail/access file and compiled to ...
0
votes
1answer
436 views

Apache VHost localhost not working on OSX

I've had VHosts working on my OSX client for quite some time. Recently, I've been trying to use http://localhost to access the /Library/WebServer/Documents but it keeps redirecting my to my blog. Can ...
2
votes
1answer
411 views

Apache log configuration

how to disable apache access log for localhost requests? or for specific IP?
1
vote
1answer
1k views

Configure Dovecot to only let localhost connect via imap

How do I configure the Dovecot message delivery agent to only allow imap connections from localhost?
4
votes
1answer
5k views

Configure Postfix to only allow outgoing mail from localhost

How do I configure the Postfix mail submission agent to only allow emails to be sent out from a user on localhost , but allow the Postfix mail transfer agent to receive mail from anywhere? Martin
0
votes
2answers
720 views

Access denied for user 'xxx'@'xxx.xxx.xxx.xxx'

I know that there are similar questions, but I didn't find exactly what I'm looking for. Here's what happens and it's kinda strange: [root@xxx xxx]# mysql -u profuser -ppwd -h 192.168.1.99 ERROR 1045 ...
2
votes
3answers
1k views

editing apache vhosts and ubuntu hosts file?

I have just installed ubuntu (11.04). I have installed apache/mysql/php etc. I have a few sites sitting in /var/www/site1 /var/www/site2 /var/www/site3 I want to be able to access these at ...
2
votes
3answers
564 views

VPS set up for MySQL

Our VPS is set up in such a way that all databases are accessible from any domain via localhost and the username/password/dbname. Is this the usual set up, or should there be some way of 'jailing' ...
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 ...
0
votes
3answers
8k views

Apache web server and accessing my website outside local machine

So I installed Apache web server/MySQL/myPhpAdmin on my windows machine. It's on my desktop. Everything works where if I go to http://localhost, localhost/phpinfo.php and ...
3
votes
2answers
35k views

Accessing localhost (xampp) from another computer over LAN network - how to? [closed]

I have just set up a wi-fi network at home. I have all my files on my desktop computer (192.168.1.56) and want to access localhost over there from another computer (192.168.1.2). On my desktop I can ...
1
vote
1answer
446 views

Is adding servername as an alias for localhost/loopback correct?

On linux systems, I've seen many variations of /etc/hosts configurations with regards to the loopback address, localhost, and server aliases. Some include the servername as an alias for the ...
1
vote
1answer
226 views

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

How do i get two apache servers to power 1 website

I'm very new to servers and such and i'm just wondering how i set up 2 servers on the same local network to power apache? So there both handling the traffic to the same website?
2
votes
4answers
992 views

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

Alternative to HOSTS file for virtual hosts?

I am running Windows 7, Apache 2.28 is my version of Apache, localhost and virtual hosts run well. Only one issue - what's the best alternative to using the HOSTS file? I tried DNSKong, but not sure ...
3
votes
6answers
19k 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
1answer
286 views

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 ...
0
votes
3answers
173 views

Getting server behind router

Hello again stackoverflow! I want to get my Apache + PHP + Mysql server behind the router, so that my apache server is available at http://myipadress:8000/ or something like that. Only these ...
2
votes
1answer
9k views

What is the 'cacert.pem' and for what to use that?

I am developing a web application on localhost with domains and sub-domains and I would like to use a HTTPS connection. On my Mac OS, in order to enable SSL, I need to set Apache correctly, so I ...
0
votes
2answers
223 views

/etc/hosts file doesnt forward to localhost for subdomain begins with www [closed]

On my desktop I use /etc/hosts file like as below for developing purpose 127.0.0.1 a.example.com 127.0.0.1 www.a.example.com 127.0.0.1 adsense.a.example.com 127.0.0.1 foto.a.example.com ...
0
votes
1answer
1k views

Port 8080 not visible while doing netstat?

While trying to run Tomcat on my Windows 2003 OS, I am noticing that the server is not running but at the same time it is not throwing any exceptions on the console. My first hunch was that the server ...
0
votes
2answers
8k views

I can connect to my tomcat6 server using http://localhost:8080/ but when I replace localhost with my ip address I'm unable to connect. What gives?

Is there a configuration setting I need to modify somewhere for this to work?
1
vote
2answers
4k views

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

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

Is it safe to add additional 127.0.0.1 entries to /etc/hosts?

I want to add this entry: 127.0.0.1 api.localhost To test the api of my web app. However, the hosts file says: ## # Host Database # # localhost is used to configure the loopback interface # ...
1
vote
1answer
3k views

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

phpmyadmin on lighttpd gives me a 403 forbidden need help

Whats the problem: When I goto //localhost/phpmyadmin I get what I would get if I did //localhost/, I'm using both http: and https:. What did I do, that changed it: I simply reinstalled lighttpd. ...
0
votes
1answer
626 views

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 ( ...
0
votes
3answers
172 views

AddHandler syntax

This is my .htaccess file - currently very limited for now, as it's a test site at: http://localhost/mydomain/testfile AddHandler application/x-httpd-php .$ Is this syntax correct so that any file ...
0
votes
2answers
369 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 ...
4
votes
1answer
888 views

Cannot loopback to localhost php gateway causing nginx to timeout while setting up firewall with ufw

I'm setting up ufw for the first time. Using Ubuntu 10.04 LTS on an OpenVZ VPN and have the following rules: sudo ufw allow 22/tcp sudo ufw allow 25/tcp sudo ufw allow 53 sudo ufw allow 80 sudo ufw ...
1
vote
1answer
758 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
5answers
620 views

virtual host settings fail on multiple sites

Edited (again): I thought that an apache2 installation on my ubuntu os (personal) would enable me to "host" websites internally - without going onto the web. I am realizing now that the two domains ...
9
votes
1answer
10k views

How to configure Tomcat to only listen to 127.0.0.1?

The environment is Ubuntu 10.04.1 LTS running Tomcat 6 and Apache 2.2 from the repos. Apache is configured to proxy requests to Tomcat, so I really want to turn off Tomcat listening to requests on ...
1
vote
1answer
563 views

Wildcard dns as subdomain in localhost using apache

i am developing a web application in Zend Framework running in apache server (xampp). The site can actually be accessed by http://localhost/sitename . It is present in c:/xampp/htdocs/sitename/ I ...
0
votes
3answers
5k views

Can't ping static IP from internal network, only from outside

I'm running ubuntu and I have apache running, however, I can't ping internally to my static IP nor browse http://207.40.XXX.XX the web server using my static IP. I can only ping/browse localhost, ...
0
votes
3answers
6k views

Why does local host say “It Works”?

I have configured all my websites in the "Sites" folder to be tested in my browser. When I type a web address for example http://test.dev, I get "It Works". Why?
1
vote
0answers
699 views

Access a host server running on localhost from a guest VM? (XP-Mode)

I have a weblogic server running on localhost, and I'd like to connect to it from an XP-mode virtual machine without much hassle. It isn't accessible via its IP, so I've been trying to get the XP-mode ...