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
1
vote
2 answers

Access IIS 8 Localhost from internet

i want access my localhost(IIS 8 On Windows 8) from outside using internet access. I get my public ip from whatismyip.org (202.67.xx.xx) and follow this link to open a port(80,443,8081-8082). So i created 3 new rules for port that allowed all…
Yohanim
  • 157
  • 1
  • 3
  • 10
1
vote
2 answers

Connect to Mysql from internet works, but when i try from mysql query browser it's failed (Err. 2003)

i can connect to mysql-phpmyadmin throught internet from browser(i.e google chrom), but when i try it from mysql query browser it's always failed. It's always show error 2003. i already created inbound rule to allow port 3306. And installed ODBC…
XMozart
  • 111
  • 3
1
vote
1 answer

apache/vhosts how to specify what project is loaded at 127.0.0.1

I run MAMP on my mac book and have many projects. I use a single httpd-vhosts.conf for all my vhost configs. In one of my apps I need to have a 3rd party API redirect to my app at 127.0.0.1/[route]. My vhosts file is mapping the first project to…
Jared Eitnier
  • 139
  • 1
  • 6
1
vote
1 answer

New Relic JavaScript

I have a problem, I was logged in at New Relic, but didn't install anything. After that, my Chrome suddenly adds a weird JavaScript snippet to my localhost only, on AMPPS. How to get rid of this, as it is disturbing me in my workflow? This is the…
user3239713
  • 121
  • 1
  • 3
1
vote
3 answers

Spoof database connection to be local instead of remote

I am trying to connect one of our clients "as is" programs to a remote database instead of a local one, they think that they have coded it to work that way, but for some reason the program crashes when trying to connect to a remote database. I don't…
spydon
  • 123
  • 1
  • 1
  • 8
1
vote
1 answer

Ubuntu server not using localhost IP for internal communication

I am using Ubuntu Server 13.04 on my mail system. I am just setting the Postfix and Amavis. In every config for communication I am using 127.0.0.1 as IP address to pass mails to amavis. When I look to the logs its still trying to connect to Amavis…
InToSSH
  • 45
  • 7
1
vote
1 answer

PHPMailer script stopped working with cryptic SMTP error messages

I am trying to send mail in a PHP script via the PHPMailer library. The following code has successfully sent emails in the past without warnings: function mail_attachment($filename, $path, $mailto, $subject, $message) { …
user143089
1
vote
1 answer

Bingbot spoof localhost ip

So here is a fun one. I'm getting bingbot requests at a certain time everyday that kill the server. Here is the request: 127.0.0.1 - - [14/Sep/2013:08:18:49 -0500] "GET / HTTP/1.1" 200 82810 "-" "Mozilla/5.0 (compatible; bingbot/2.0;…
Alan
  • 23
  • 4
1
vote
2 answers

Apache 2.2 server stopped after adding code for virtual domain name

i am developing a website on Apache 2.2 local server. The site is still in development stage. I wanted to get a custom domain name for my website, so that i could access it as "mysite.local" or something instead of "localhost/xyz.php". After enough…
1
vote
1 answer

Domain and IP should have different DocumentRoot

the Domain points to an IP / Server. But I like to have different documentRoots if the server is accessed via IP or via Domain. Therefore I build this configuration: NameVirtualHost *:80 ServerAdmin foo@bar DocumentRoot…
LeMike
  • 179
  • 1
  • 8
1
vote
1 answer

reroute tcp connections to remote server so that they connect to localhost instead

I have a script that tries to connect to a remote mysql server and I want to modify the vm it runs in so that instead of the remote ip, the connection will be forwarded to localhost. Can anybody tell me if that's doable, and how? I do have an it…
1
vote
0 answers

vhost working but not finding index.php

Its my first time that i have a vserver with plesk - i always deleted plesk and worked without it because i didnt liked it but now i try with and it doesnt work as i want it. installed magento here: /var/www/name/public_html/magento/public my vhost…
Jonny Vince
  • 111
  • 1
1
vote
3 answers

VirtualDocumentRoot & localhost

Currently this is my httpd-vhosts.config file NameVirtualHost *:80 VirtualDocumentRoot /Users/Gabri/Sites/%2/%1/build However I would like to have access to localhost too to be able to view it on the same…
ahmedelgabri
  • 111
  • 1
1
vote
1 answer

How to add a CNAME for localhost in BIND 9?

I am doing web development and host the local versions of sites on my machine. I have Linux Slackware 14.0 with BIND 9.9.1-P3. In my named.conf I have this: zone "localhost" IN { type master; file "caching-example/localhost.zone"; …
user4035
  • 135
  • 1
  • 7
1
vote
2 answers

HOSTS ignored when disconnected

Problem I’m seeing a strange and extremely frustrating problem. Any system that is not connect to the Internet (Windows 7 shows the no Internet access icon because it cannot constantly ping Microsoft’s servers) cannot even access locally hosted…
Synetech
  • 908
  • 1
  • 12
  • 27