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
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
658 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 ...
17
votes
1answer
21k 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
12k 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
479 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 ...
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
12k 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 ...
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
230 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
788 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
612 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. ...
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
834 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, ...
0
votes
3answers
174 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
781 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
482 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
780 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
221 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 ...
1
vote
2answers
558 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 ...
0
votes
2answers
443 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
905 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 ...
2
votes
2answers
14k 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
597 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 ...
0
votes
1answer
238 views

access localhost stopped working after I installed MAMP

I had configured my machine all access localhost I need some accessed "http://*.localhost.com:3000," * - I put the names of some projects and instances. I needed to run a PHP server and installed MAMP ...
10
votes
3answers
8k views

Windows Server 2008 - Connecting to 127.0.0.1

Im running Windows Server 2008 R2, we have an application that connects from (binds to) a public IP on the server to 127.0.0.1:8334 [connects to a service listening on 0.0.0.0:8334] In Windows 2003, ...
0
votes
2answers
421 views

Parallels Network Setup — Localhost goes to host computer

Is there a way to get 127.0.0.1 to route to the host computer (the one running the virtual machine, not the virtual machine itself)? I am supporting a web app that sometimes requires 127.0.0.1 to be ...
0
votes
2answers
683 views

Apache localhost works great, except PHP is not responding

I'm running Apache on Mac, PHP is installed, and I suspect something in the httpd.conf is not correctly set. The symptom: Running PHP files in localhost yields PHP code, nothing else. Running ...
0
votes
2answers
473 views

One localhost on two PCs

Today I got an idea, that testing my web apps on two different PCs would be even better if they both are near and if I could use my own localhost instead of hosting. i.e.: 1. My ASUS laptop runs ...
0
votes
2answers
3k views

Hosts file entry directed to a directory on localhost

I have a directory setup with a nice error message at http://localhost/blocked/. I'd like to direct entries in my hosts relating to sites I've blocked to that instead of just 127.0.0.1. ...
0
votes
2answers
451 views

LocalHost in share path?

I am setting up in a test environment and need to save some paths in a database but dont want to edit the paths when we go to production. My idea being that I could create a share on both servers and ...
0
votes
1answer
931 views

IPTables configuration for Localhost

I have a problem in connecting a JIRA instance running on a cloud server to an instance of MySQL running on the same box. I have configured it previously using quite a few iptables rules, but it ...
0
votes
1answer
116 views

whats the point of @localhost entries for a mail server

After recently setting up a mail server I am now adding the users that I need. As part of the tutorial I followed I created root@localhost as an account and also a bunch of aliases ...
1
vote
3answers
2k views

Fake domain doesn't resolve when offline

I have a flimsy grasp of DNS. Nonetheless, in order to install a local development copy of Wordpress MU, I needed to create a fake domain, which I called local.dev. It and all subdomains simply ...
0
votes
4answers
2k views

Domain name is forwarding to my localhost, no idea why

On my local development machine, I have a WAMP setup (Windows Vista Home Premium, Apache 2, MySQL and PHP 5). One of my projects is rehash.dustinfineout.com, which may be related to the problem... For ...