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
votes
1answer
316 views

Problem with installing apache

I get this when I install the apache on windows: only one usage of each socket address is normally permitted. :make_sock: could not bind to address 0.0.0.0:80 Note that I had visual studio 2010 ...
3
votes
2answers
190 views

Is it good to define localhost as 127.0.0.1 in your hosts file?

I just came across a server that does not respond to things like ping localhost or mysql -h localhost - I believe this is because localhost is not defined in the hosts file. On just about every ...
0
votes
1answer
100 views

Anyway to build a local webserver without config your router? [closed]

I always config router / port forwarding, when I try to build a local web server IIS7 / Apache. But this time, I don't have access to control router, we have any software, any ways can help to build ...
0
votes
2answers
884 views

Hosts file map localhost to existing domain not subdirectory* updated

I am locally developing a website via MAMP and rather than messing with the changing all of my links and etc later on I opened up etc/hosts and added this line 127.0.0.1 localhost mysite.com so ...
1
vote
2answers
2k views

Making websites hosted on localhost available to all on network [closed]

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

How can i change Apache's locahost address?

Sorry for the easy question.. I installed XAMPP. When i go to localhost in browser, the directory called "c:\xampp\htdocs\" is opening. I want to change the address of localhost to something like ...
1
vote
1answer
7k views

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 ...
0
votes
2answers
364 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
3k 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
20k 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
1k 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
717 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
425 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
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
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
223 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
979 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
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
499 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
478 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?
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
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
652 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
9k 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
546 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
255 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
353 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
180 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 ...
4
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
242 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
9k 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
805 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 ...