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
1
vote
1 answer

Windows server DNS resolves localhost for (some) foreign IPs

I have 2 Windows Server 2008 R2 DNS Servers which share the domain xyz.wan and reside in the 192.168.50.0/24 subnet of my network. Connected via IPSec VPN site-to-site are some other subnets (192.168.51.0/24, .52.0/24, etc.) which have their own…
Lenniey
  • 5,220
  • 2
  • 18
  • 29
1
vote
2 answers

Bind9 DNS resolves full domain to localhost

I have set up a Bind9 DNS server on my development VM which is running Debian Wheezy. My addresses resolve from my host machine (Win7) to my dev VM, and I can ping from there. Internally on the VM, I can ping my names (www, share, my_name, etc.) and…
paulski
  • 111
  • 1
  • 3
1
vote
2 answers

Serving assets on two different ports

I have one PHP app running on localhost port 80 and another running on port 81. Pointing the browser to http://localhost runs the first app and all of its assets: js, css, imgs in the /assets folder. However, the 2nd app only can serve assets that…
tim peterson
  • 693
  • 2
  • 9
  • 18
1
vote
0 answers

DNS does not route properly to WAN NIC when dnscrypt is used

I have a Windows 2003 server with AD integrated DNS. I'm trying to configure the server to make outgoing (forwarded) DNS requests through dnscrypt proxy instead of through the normal TCP/UDP 53. I setup dnscrypt to run on 127.0.0.7 with the command…
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
  • 133
  • 1
  • 1
  • 9
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…