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
549 questions
2
votes
1 answer

Local SSH connection to Gitlab not working

I'd like to be able to clone, push and pull (via SSH) on my Gitlab-Server from/to itself. Currently, when try to clone a git repository locally from my server I get this: jacob@server: git clone git@git.example.com:project.git fatal: 'project.git'…
jacob1123
  • 121
  • 1
  • 4
2
votes
2 answers

Subdomains on localhost

It is possible to use wildcard in /etc/hosts file? For example, im developng the application that will have user-defined subdomains, like "user1.foo.bar", "user2.foo.bar". Im looking for something like this: 127.0.0.1 foo.bar 127.0.0.1…
Dan Sosedoff
  • 247
  • 2
  • 4
  • 11
2
votes
3 answers

Access 127.0.0.1 on a local network

I usually write code, not administer servers, so bear with me here! I'm running a python script to act as a webserver and I also have Apache installed on the same machine. When I run the python script, I get the success message: Running on…
Todd Davies
  • 121
  • 1
  • 4
2
votes
3 answers

iptable localhost connections reported to be blocked, but work ok

I am using fwbuilder and have tried setting up rules that both allow lo interface and source ip 127.0.0.1, as follows: $IPTABLES -A INPUT -i lo -m state --state NEW -j ACCEPT $IPTABLES -A OUTPUT -o lo -m state --state NEW -j…
Yoav Aner
  • 561
  • 2
  • 6
  • 13
2
votes
1 answer

How do I get a subdomain on Xampp Apache @ localhost?

****UPDATE- I got it working now, I just had to change to The port number is important here.** I just modified my windows HOST file @ C:\Windows\System32\drivers\etc and added this to the end of it 127.0.0.1 images.localhost 127.0.0.1…
JasonDavis
  • 2,658
  • 6
  • 25
  • 32
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
  • 326
  • 2
  • 14
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

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
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
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