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

0
votes
2answers
354 views

Problem with too many local connections

I have a problem with my server (VPS). It's veeery slow. Checking the connections with netstat, there are a lot of internal connections. I don't understand why! It's normal all this connections? # ...
0
votes
1answer
4k views

Standalone tomcat 5.5 can't access other than on localhost

Clean install of Tomcat 5.5. I know it's older, but the webapp I am needing does not support newer versions. I can access it just fine using localhost, but I can't get to it from a remote computer. ...
-2
votes
1answer
220 views

Google DNS for localhost

Updated: I want to use Google DNS for my localhost server. Is that possible? The main reason for this is I keep getting the following errors for the functions like file(), fopen() etc. ...
-1
votes
2answers
2k views

install lamp on ubuntu 11.04 desktop - localhost not working

I just ran sudo apt-get install lamp-server^ on my Ubuntu 11.04 Desktop computer to get my localhost server up and running. Now when I type in localhost to my web browser it only shows .html files ...
15
votes
8answers
19k 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, ...
0
votes
1answer
33 views

When Installing Apache Web Server

And you go to http://localhost, are you supposed to see a message that says "It works!" If not, how do you fix this? Operating system: Windows 7 Apache Web Server:Win32 Binary including OpenSSL ...
7
votes
3answers
2k 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
1answer
3k views

how install web server on a local machine (windows 7 or server 2008) for an asp.net web application?

i designed and developed a web application (works as a windows application) in asp.net with c# ... now i want to use this application on a local machine instead of previous windows application ! how ...
1
vote
2answers
710 views

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 ...
1
vote
1answer
413 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
79 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
3k 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
5k 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
101 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
123 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 ...
-1
votes
1answer
222 views

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

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
963 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
207 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
2k 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
497 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
473 views

Apache log configuration

how to disable apache access log for localhost requests? or for specific IP?
1
vote
1answer
2k 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?
0
votes
2answers
1k 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
2k 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
644 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
2k 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
10k 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
43k 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
535 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
251 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
71 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
1k views

Best way to run two different websites on localhost [closed]

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
1k 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 ...
4
votes
7answers
32k 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
348 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
179 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 ...
3
votes
1answer
13k 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
241 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
10k 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
5k 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
791 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
4k 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
677 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
199 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
385 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
1k 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 ...