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

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 http:/...
0
votes
2answers
256 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
103 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
2answers
1k views

Apache on localhost: give virtual hosts specific servers name

I ask my question first and below are details of what I have so far trying to solve the thing: On Apache running on localhost, I want to have different virtual hosts that would be accessible through ...
0
votes
1answer
124 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
238 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
4answers
211 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
586 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
542 views

Apache log configuration

how to disable apache access log for localhost requests? or for specific IP?
1
vote
1answer
273 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
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
721 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
1answer
665 views

View a localhost:port address over LAN

I'm working on a Sinatra app so I have a Mongrel instance running at localhost:4567 on my main machine, a Macbook Pro. How can I view the app over my LAN, preferably from an iPhone? If I enable web ...
1
vote
1answer
680 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 localhost/...
17
votes
1answer
22k 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 ...
0
votes
1answer
74 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?
0
votes
1answer
2k views

bandwidth throttle on OSX with IPFW for localhost

I have my localhost webiste on http://macintosh.local - 127.0.0.1 Testing my website also for IE on the same address in VMWare Fusion I tried some Apps from hanynet.com/applications/ like WaterRoof. ...
0
votes
2answers
78 views

Web application in a network environment

I have a web application running on an apache web server on Ubuntu 10.04. The web application can be accessed via a web browser on the server's computer by typing http://localhost/webapp. I want to ...
1
vote
3answers
13k 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?
0
votes
1answer
498 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
191 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 settings ...
9
votes
1answer
20k 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 ...
2
votes
3answers
13k views

Problem with tomcat and getLocalHost exception

I'm running a Linux server named S1 in a "cloud" server, and when tomcat 6.0.24 starts, I get the exception: org.apache.catalina.connector.Connector pause SEVERE: Protocol handler pause failed java....
1
vote
2answers
6k 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
1k 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 ...
0
votes
3answers
237 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
1answer
805 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 ( ...
1
vote
5answers
1k 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 ...
0
votes
1answer
621 views

Resolve local subdomain on apache for paths within user dir

On Apache 2.2.x I've activated mod_userdir. I used the default setup, so that http://localhost/~name/ will be connect with ~name/public_html/ and a path within public_html, e.g. ~name/public_html/...
1
vote
3answers
7k views

Accessing local files through an http:// address

I would like to access a folder of mp3 files on my local Windows machine through http:// addresses. For example, typing http://localhost:9999/songs/test.mp3 into my browser would play test.mp3, which ...
0
votes
4answers
13k views

127.0.0.1 is working but localhost is not working on mac XAMPP

I installed XAMPP on my mac months ago and was working great. Now i get "Test Page For Apache Installation" when i try to browse /localhost and /localhost/xampp is not found. But when i browse /...
1
vote
1answer
844 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
12k 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, 127....
0
votes
3answers
178 views

Unable to run php

i am unable to run my php script using the following command : http://localhost/test.php after typing the above command am getting a dialog box to open or save file named as test.php m unable to get ...
1
vote
0answers
783 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 ...
0
votes
1answer
494 views

localhost times out - Windows Server 2008

I'm having a weird problem accessing a local web site. Web site is mapped to a hostname e.g. example.org The hostname works perfectly on any external machine, but not locally. When trying to access ...
0
votes
1answer
175 views

is there any program that can send emails from localhost

i just have a laptop with an internet connection, but i keep changing the internet provider. i want to be able to send mails from my laptop to real addresses. i dont want to use smtp. can i configure ...
0
votes
1answer
123 views

Does localhost resolve to the same thing on virtual and host machines?

If I set up a web server in a virtual machine, will localhost/127.0.0.1 be the same on both the virtual and the host machine?
1
vote
3answers
787 views

How to get local webserver to my external ip

Problem: I am trying to run a webserver from my computer. I see the request getting to the server, but am unable to see the page on the browser due to a "Errno 10054: An existing connection was ...
0
votes
1answer
222 views

Apache keeps resetting while testing on localhost

I'm getting errors while testing web pages on localhost. I'm running Windows 7 64-bit. I'm not using Wamp or Xampp. This is what the error.log tells me (I've highlighted the errors in question): [...
2
votes
3answers
6k views

Wireshark won't pick up packets sent from localhost to localhost via network [duplicate]

I'm running on Windows and trying to get Wireshark to pick up my network traffic. It picks up all outbound and inbound traffic fine, except for a client/server I'm running on my local system. As it is,...
1
vote
2answers
567 views

Localhost not recognized

For some reason my localhost is not recognized. I have this in my hosts file as I've always had: 127.0.0.1 localhost ::1 localhost I did do a flushdns, not sure if that caused it....
0
votes
2answers
445 views

php mail() from localhost

I have installed both postfix and mailx, I also tried sendmail. I'm trying to send e-mail from a PHP script using a crontab. The crontab and PHP run fine but the mail won't send I get the following ...
0
votes
1answer
1k views

connect to apache/ubuntu on vmWare player from windows

I'm running a virtual mashine on my windows 7. In it a ubuntu linux with apache server. How can I get to a site hosted on my ubuntu from windows? Example: Want to get to http://localhost/~user/ from ...
-2
votes
7answers
2k views

http://localhost not working [closed]

i am using xampp 1.7.1 PHP 5.2.9 pinged localhost on cmd and it showed Reply from ::1: time<1ms Reply from ::1: time<1ms Reply from ::1: time<1ms Reply from ::1: time<1ms hosts file ...
0
votes
2answers
907 views

Multiple-domains on WAMP localhost [closed]

If you're reading my question, thanks, I appreciate your help I'm using Wamp on Windows Vista. I've created 2 project folders: www/project1/ www/project2/ My virtual hosts file looks like this:...
2
votes
2answers
15k views

Hosts file entries for multiple domains on VPS?

mydomain is the main domain (in Plesk, Media Temple MT VPS), and under that are several Wordpress sites, like mysite1.com, mysite2.com, etc. Problem is that I get lots of these errors in httpd's ...
2
votes
1answer
4k views

Setting up Mac localhost mail server on OS X

I was advised that this may be a better location for my question than SO. I've been trying to setup my Mac OS X (10.5.8) to send emails from localhost so that I can test my scripts. I normally get ...
0
votes
5answers
5k views

Cannot connect to apache listening on http://localhost/ without a network connection

I have not tested on windows. but in ubuntu when you disconnect from the network, start Apache, and enter localhost in any browser, it does not show the page it is supposed to show. 127.0.0.1 ...
1
vote
1answer
606 views

Localhost subdomains with Bind9

So, following this question here and a number of other questions about subdomains on localhost, we learned that /etc/hosts isn't capable of handling wildcard routes and we need a DNS system. Ok, I ...