Questions tagged [localhost]
Localhost is an address/term used for testing connection to the local host (current computer) used for some network troubleshooting
554
questions
0
votes
2
answers
97
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
2
answers
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
3
answers
9k
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,...
0
votes
3
answers
418
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
1
answer
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
7
answers
12k
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 has
...
-1
votes
4
answers
4k
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 ...
11
votes
4
answers
15k
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
3
answers
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
1
answer
6k
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
2
answers
2k
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 ...
1
vote
2
answers
2k
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
1
answer
962
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 ...
9
votes
3
answers
43k
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 ...
3
votes
1
answer
44k
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 ...
1
vote
2
answers
10k
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
1
answer
556
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
1
answer
899
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/...
0
votes
2
answers
545
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
3
answers
11k
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
2
answers
509
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
2
answers
2k
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
2
answers
7k
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. 127.0.0.1/...
1
vote
3
answers
1k
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
2
answers
5k
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
1
answer
987
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
1
answer
529
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 (postmaster@...
0
votes
3
answers
122
views
What software can I use to link my public domain to my dynamically changing local computer IP? [closed]
Any free websites/software that might be recommended?
0
votes
2
answers
5k
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
2
answers
551
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
5
answers
7k
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
1
answer
693
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 ...
6
votes
5
answers
27k
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
2
answers
2k
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
2
answers
238
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
3
answers
3k
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 ...
4
votes
2
answers
32k
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 telnet-...
7
votes
3
answers
22k
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 (IE/...
3
votes
2
answers
16k
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 ...
2
votes
2
answers
28k
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
1
answer
3k
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 server'...
3
votes
3
answers
8k
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
1
answer
2k
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 ...
19
votes
3
answers
36k
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
1
answer
191
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
1
answer
260
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
1
answer
2k
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 ...
4
votes
4
answers
24k
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 ...
233
votes
19
answers
297k
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
2
answers
543
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 ...