Questions tagged [localhost]

Localhost is an address/term used for testing connection to the local host (current computer) used for some network troubleshooting

localhost (all lowercase) (meaning this computer in computer networking) and is the standard hostname given to the loopback network interface.

IPv4

Under IPv4 the standard localhost address is normally assigned to:

127.0.0.1

IPv6

In full notation, the address under IPv6 is:

0:0:0:0:0:0:0:1
537 questions
2
votes
2 answers

Can't access mamp server with internal IP

Running MAMP 2.1.1 on my 10.7.2 OS X Mac Pro. I can access server if I choose a port (such as the default 8888) but changing it to port 80 causes it to not work, except with localhost. This used to work before! I was running MAMP with virtualhosts…
Chris
  • 21
  • 1
  • 4
2
votes
1 answer

how to browse to website on the same machine it's hosted on with IIS 7?

I have 2 websites hosted on an IIS 7 server. I can browse (in Internet Explorer) to the 'Default Web Site' at http://localhost but I want to be able to do the same thing with the other website. From what I can figure I think I need to edit the…
Dean
  • 175
  • 1
  • 5
2
votes
2 answers

Binding services to localhost and using SSH tunnels - can requests be forged?

Given a typical webserver, with Apache2, common PHP scripts and a DNS server, would it be sufficient from a security perspective to bind administration interfaces like phpmyadmin to localhost and access it via SSH tunnels? Or could somebody, who…
Martin
  • 316
  • 2
  • 13
2
votes
1 answer

how to serve php files on a Apache server (localhost) running Coldfusion/MySql?

I'm still learning my ways around on my localhost server, whih is running Apache 2.2, Coldfusion8 and MySQL Server 5.5 (on Windows XP). I need to work on a site I inherited, which also ran some PHP scripts under the same setup. I have installed PHP5…
frequent
  • 167
  • 8
2
votes
2 answers

Nginx: All local IP addresses redirect to Nginx

For some reason, any local IP address in the 127.xxx.xxx.xxx range redirects back to the default 'Welcome to nginx!' page. From my experience with Apache, only the 127.0.0.1 IP address would resolve back to the apache web server. How can I make…
Ben
  • 23
  • 3
2
votes
2 answers

IIS7 on localhost: sub-domain can't be seen externally only by local machine

I have setup a site on localhost (Win7 32bit) that can be accessed locally or by other machines on our network using http://meeting-room however the sub-domain http://admin.meeting-room can only be seen by the machine hosting the site. The name of…
Larry B
  • 261
  • 4
  • 5
  • 18
2
votes
1 answer

proxypass apache over nonstandard port - how can it be that the 192.168.*:9999 works from the computer itself but not another computer on the network?

httpd.conf vhost looks like this: ServerAdmin admin@example.com ServerName www.example.com ServerAlias example.com # Indexes + Directory Root. DirectoryIndex index.php DocumentRoot…
inman320
  • 121
  • 1
  • 3
2
votes
1 answer

Setting up subdomains on localhost

I have been trying to set up a subdomain on my local development environment, dev.localhost. I'm using Ubuntu 11.10 and Apache2. So far, I've edited my host file to include the line 127.0.0.1 dev.localhost. I've created a file called axis in…
jebriggsy
  • 23
  • 1
  • 4
2
votes
0 answers

htppd.conf or other local issue loading any php file in one specific localhost directory

Firefox: "You have chosen to open (no file name here?) which is a: application/x-httpd-php (12.6 KB) from http://localhost" "What should Firefox do with this file? Open with () Save File [ BROWSE ]" And if I Save File, the file names is:…
OldWest
  • 21
  • 1
2
votes
3 answers

hosts file and multiple sub-domains

For local testing (and learning), I wish to use x.com host name instead of localhost. I changed my Windows XP host file to this - 127.0.0.1 x.com Now http://x.com/ works beautifully but http://www.x.com doesn't. :( What changes should I make…
2
votes
2 answers

WAMP - phpmyadmin 403 error from localhost, but not from IP 127.0.0.1?

I was wondering if anyone can explain this to me. I installed WAMP 2.2. I opened up the dashboard menu, and clicked localhost. I was brought to the WAMP localhost home page. I clicked on phpmyadmin and get a 403 access is denied error message. …
kdub
  • 121
  • 1
  • 4
2
votes
4 answers

Access ports on localhost from external IP

I'm currently in the process of setting up a web server just for personal and testing use. Right now I'm trying out running some python applications but when I start them, they are ran at 127.0.0.1:5000. Is there anyway I can forward this to make…
Breathtender
  • 121
  • 1
  • 5
2
votes
2 answers

index.php not automatically read by localhost

I just installed Apache, php and MySQL manually in windows 8. It works fine but the problem is when i try to open the directory in browser it auto opens index.html but not index.php for ex: i have following folder…
sonill
  • 125
  • 1
  • 4
2
votes
2 answers

localhost In Outgoing Messages

I have exactly the same problem as this. In a nutshell I am using mime::lite to send admin emails but they appear to be being flagged as spam because localhost[127.0.0.1] appears in the headers. My question is how do I get rid of the references to…
blankabout
  • 1,004
  • 1
  • 9
  • 16
2
votes
1 answer

how to access the localhost of a virtual machine

I'm using ubuntu server as a VM on my mac, its address is 10. 211. 55. 11 i just installed django server, and it started on the localhost of 127. 0. 0. 1: 8000 (this ubuntu is originally a rails turnkey, which in the hosts file have these two lines,…
Devric