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
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
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
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
1k 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
602 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
6k 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 ...
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 ...
0
votes
2answers
7k 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
241 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
616 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
423 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 ...
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
444 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
477 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. ...
1
vote
3answers
785 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 ...
0
votes
1answer
935 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
118 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 ...
0
votes
3answers
83 views
0
votes
2answers
3k views

windows server 2003, IIS and localhost

I need to work with the localhost from inside the server in order to run things as schedules. On my workstation with the regular IIS I have 1 webserver with a lot of sites as aliases. In my server I ...
0
votes
2answers
473 views

problems installing mysql and phpmyadmin to localhost

I know there have been many similar questions, but as far as I can tell, most of the other people have gotten further than I have... I'm trying to get a WAMP setup happening. I've got PHP and ...
0
votes
5answers
3k views

Let other computer view my localhost over a network

I have apache and what not running on my local machine (mac), there also another mac on the local network. How does this other machine access my localhost? For example I have a local website at ...
2
votes
1answer
620 views

setting documentroot in apache

i've set the documentroot in httpd.conf as: DocumentRoot "C:\Users\user1\Documents\WebProjects" if the files are located in WebProjects, they work; however if i create a sub folder [project] in ...
4
votes
3answers
17k views

Accessing localhost on IIS7 from another computer on the network

I recently upgraded computers to Windows 7 Professional and am running IIS7. When I'm on my computer I can easily access localhost through my web browser but when I try from another computer on my ...
1
vote
2answers
564 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
219 views

Problems pointing site to site in Hosts file

I'm on my localhost PC. I need to add an entry that maps our public site to our dev server. I tried several things with no luck: 192.168.1.40 oursite.com // where the IP here is our internal dev ...
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 ...
3
votes
2answers
16k views

How do I fix “getaddrinfo: localhost Name or service not found” for telnet server?

I need to enable telnet (no i can't use ssh, and I don't want to discuss why I have to use telnet either), I have 127.0.0.1 localhost.localdomain localhost in /etc/hosts. I have installed ...
6
votes
3answers
12k views

IIS asks for login/pass when accessed using hostname but not when 'localhost' is used. Why?

I have setup IIS on my xp machine and have setup a default homepage (that comes with the IIS installed). It is a help page I think. when I access the page with http://localhost it works fine ...
3
votes
2answers
14k views

How to free port 80 for xampp to work [closed]

Please help, I used to be running xampp and it was working perfectly. Then I wanted to try something out and I ran IIS instead of xampp. Now I want to go back to using xampp, but whenever I try to run ...
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
1answer
786 views

Tomcat cannot connect to MySQL on localhost

I have deployed an application on my Tomcat server with JDBC resources defined. What is puzzling me is that I can connect to the database (which is running locally on the server) only using the ...
3
votes
2answers
4k views

localhost works 127.0.0.1 does not IIS

Very weird problem on IIS. Never had it before: localhost works, but 127.0.0.1 does not. localhost pings to 127.0.0.1. www.mydomain.com also pings to that IP, which is set up in the hosts file, ...
0
votes
1answer
1k views

Sharing Localhost on Network in Windows 7

Basically - I am producing a website and I am trying to share the "localhost" port on 2 computers. Basically, when I build the project I just want to also be able to access it on both computers via ...
12
votes
3answers
10k views

localhost in a DNS zone

Our ISP also hosts our external DNS. By default they include an entry for localhost. For example: localhost.example.com. 86400 IN A 127.0.0.1 When I've asked them to remove it they give me a hard ...
0
votes
1answer
82 views

Is it possible to configure Apache for several local host?

I want to tests to sites locally. It is good for me to have two configuration sections in Apache. I tried <VirtualHost 127.0.0.1> ... </VirtualHost> <VirtualHost 127.0.0.2> ...
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): ...
0
votes
1answer
1k views

Accessing localhost using ip

I am running google app engine locally and it runs on port 8080. I can access it from the browser using 'localhost:8080' or '127.0.0.1:8080'. But I cannot access it using the ip of the machine even ...
2
votes
4answers
7k views

How can I avoid my web browser from redirecting to localhost using WAMP in Windows7? [closed]

I'm currently using Windows 7 with WAMP to try and work on some software, but my web browsers will not accept cookies from the "localhost" domain. I tried creating a few bogus domains in my hosts file ...
110
votes
14answers
97k views

In my /etc/hosts/ file on Linux/OSX, how do I do a wildcard subdomain?

I need to test sub-domains on my localhost. How can I effectively have this result of adding *.localhost.com to my /etc/hosts/ file? If it's not possible, how do I work around this problem? I need ...
2
votes
2answers
441 views

Trying to get rid of localhost in outgoing email — Sendmail

I'm running sendmail and I've appeared on the CBL. I've already fixed a couple issues, but I can't figure out how to get rid of these last two localhost mentions. I commented out the localhost line in ...
3
votes
4answers
2k views

Virtual hosts on same ip AND port

Is this even possible? My current vhost.conf entries: <VirtualHost www2.b-page.lv:80> ServerAdmin example@example.com DocumentRoot "C:/xampp/htdocs/b-page" ServerName b-page ...
0
votes
1answer
2k views

Wamp server giving “It works!” on going to http://localhost [closed]

This is for a friend of mine. When he installed WAMP server, it installed perfectly. And then when he goes to http://localhost there is only 1 message that is displayed in the browser which is It ...
3
votes
4answers
5k views

Is it Possible to view my apache server (local host) from home or remote computer that is outside my LAN?

i am developing a website and need to share progress with other stakeholders. Is it Possible to view my apache server (local host) from home or remote computer that is outside my LAN?
1
vote
2answers
1k views

How to exclude local traffic from AWStats reports?

I have AWStats configured to run on my website, but I would like it to exclude hits coming from myself (localhost) that are seen as originating from these ip addresses: 127.0.0.1 192.168.0.1 How ...
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 ...
2
votes
1answer
176 views

Why don't ports resolve correctly for localhost and {my server name}?

I set up VisualSVN Server, and SQL Server on my local machine. VisualSVN was set up to use https://dell/svn/ as the repository root. I was connecting to SQL Server using "localhost". At some point I ...
3
votes
8answers
6k views

SQL Server 08 Express error when connecting to localhost - “Timeout expired”. Works with ::1 or 127.0.0.1

EDIT New info: Navigating to localhost:1434 in Chrome gives me an "ERR_EMPTY_RESPONSE", while other ports give me an "Oops! This link appears to be broken". So it seems to binding ok there? So ...