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
3answers
181 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
15k 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
246 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
854 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
708 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
209 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
395 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 ...
2
votes
1answer
1k 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
831 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 ...
13
votes
1answer
16k 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
739 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
8k 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
9k 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
754 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
169 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?
0
votes
1answer
438 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 ...
1
vote
4answers
37k views

How to access localhost from by ip address? [closed]

I am trying to access localhost by my ip address. My ip address is/was http://217.164.79.62/ (It is set to be automatically assigned so it keeps changing). When I enter http://localhost/ into the ...
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 ...
0
votes
1answer
2k views

hMailServer - Thunderbird message with a blank body

I've just installed hMailServer and Thunderbird and managed to get them talking to each other. When Thunderbird gets the message from the server (this is all running locally by the way), the subject ...
2
votes
3answers
5k 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 ...
0
votes
3answers
164 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 ...
0
votes
1answer
949 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 ...
-1
votes
4answers
2k views

Setup localhost on home computer as remote server [closed]

Recently I have finished a PHP project that I have tested on my home computer using WAMP. I dont have any hosting online and would like to make my localhost remotely accessible. For example, I want ...
2
votes
2answers
1k views

iptables: what does “--src-type LOCAL” mean exactly?

The iptables man page defines it as "a local address" but does this refer only to the 127 range (localhost) or does it include 10, 169, 192 as well ?
3
votes
3answers
5k views

Strange redirect to localhost! http://dp.000.in/?

I just accidentally typed imadb.com and after 2 redirects (I think) I ended up at: http://dp.000.in/ You can imagine my surprise when I noticed I was seeing my webpages on my local host! Can someone ...
2
votes
1answer
3k 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
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
2answers
913 views

How to configure apache to allow access to subdomain on my local ip address

I would like to have others inside my local network access resources on my computer at outsideprojects.192.168.0.10. I am running Apache and have a virtual host configured so I can access it at ...
1
vote
1answer
555 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
2answers
4k views

nginx redirecting to localhost

I'm sort of a noob at this and I'm just switching into nginx so I apologize for the noob question. I have installed nginx and when I go to the root directory of its web folder I can get the index ...
1
vote
2answers
9k 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 ...
0
votes
2answers
6k views

How do I allow access to my localhost (xampp) installation over my windows network?

I have just installed a fresh xampp stack on my machine, and can access it from localhost, my pc name, and ip address. There is nothing on it yet, but getting the welcome page fine. I seem to ...
0
votes
1answer
203 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 ...
0
votes
1answer
579 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. ...
0
votes
2answers
397 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 ...
9
votes
3answers
7k 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
425 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
2answers
464 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
2k 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. ...
1
vote
3answers
743 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
2answers
3k views

Accessing localhost via IIS 7.5 on Windows 7 very slow [closed]

(I've asked this over on stackoverflow already, but thought I'd ask here as well) I'm currently running an ASP.NET application on IIS 7.5 on Windows 7. When I access this application on Internet ...