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

learn more… | top users | synonyms

0
votes
1answer
87 views

browser downloads site page on nginx server

I have a wordpress copy on nginx on my localhost. when I wants to open it with browser, the browser just downloads a php file and does not open the site. my /etc/nginx/nginx.conf file cotains: user ...
0
votes
0answers
28 views

ipfw rules not affecting localhost

I am having an issue getting ipfw to configure network delay on traffic on localhost (WinXP). I wrote a very basic batch file with the following commands ipfw pipe 3 config delay 300ms ipfw add pipe ...
-1
votes
1answer
398 views

Can't access localhost on a VM Windows Server 2012 Azure

Hi I'm new to VM Technology. I have a Microsoft Bizspark Account with Azure on it. I created a Virtual Machine, Windows Server 2012 and installed Xampp on it. Yeah I know it would be better to use IIS ...
0
votes
0answers
99 views

How to setup testing environment for local HTTPS website?

I'm developing a web application on a local Ubuntu machine. Some IE8 users have problems with Javascript when the application is loaded over SSL. To debug this issue, I need to reproduce the problem. ...
1
vote
2answers
2k views

Accessing virtual hosts on the host OS from a guest OS in VirtualBox

Through VirtualBox, I need to access the host's (Mac OS X 10.6) virtual hosts through guest OSs (Windows XP and 7). I am able to access the localhost URL and can see the directory structure of the ...
4
votes
3answers
893 views

iptables for local connections

On "Server A", I have a service running on port 1445. "Server B" can connect to "Server A" on port 445 via the following rule: iptables -t nat -A PREROUTING -d www.kunde.de -p tcp -m tcp --dport 445 ...
0
votes
2answers
516 views

Can't connect to MySQL server on 'localhost' after changing TCP/IP Port

When I change the TCP/IP Port the MySQL Server will listen on port=3306 to port=3808 in my.ini, my Django project works very well. Navicat also can login in to mysql with same user name and password. ...
2
votes
1answer
917 views

Self-signed EV SSL certificate [closed]

I have a ton of testing projects going on in my localhost apache server. I have SSL installed on my localhost. Call me a freak (and I wouldn't mind it because this is totally pointless), but I would ...
0
votes
1answer
708 views

Set up postmaster using Postfix on Ubuntu 14.04

I am in need of serious help. I have been on Google, Stackoverflow, Postfix's website and numerous forums. I am officially stuck, I even tried to replicate another machine's config files. The ...
1
vote
1answer
2k views

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 ...
2
votes
1answer
1k views

Windows Server 2003 - Block port on localhost

We have a misbehaving daemon running on one of our Windows 2003 Servers. It telnets into localhost:5115 I have a feeling that if I can stop it from telnetting into localhost I can get it to fail ...
1
vote
1answer
310 views

ubuntu 127.0.0.1 not working, going timeout

Today i've restarted my ubuntu 11.04 server and now the 127.0.0.1 is not working anymore, it still loading for a while and then timeout. I've tried to make a traceroute and this is the result ...
1
vote
2answers
773 views

How to exclude local traffic from AWStats reports?

I have AWStats configured to run on my website, but I would like it to exclude hits coming from myself (localhost) that are seen as originating from these ip addresses: 127.0.0.1 192.168.0.1 How ...
0
votes
2answers
1k views

Access IIS 8 Localhost from internet [closed]

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

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 ...
-1
votes
1answer
211 views

IIS7 localhost default location troubles

new member here and am stuck with an IIS7 issue. I'm running Windows Server 2008 with IIS7 and my sites are located under C:\inetpub\wwwroot. I have a few sites running with host headers on there but ...
1
vote
2answers
1k views

Arbitrary loopback ip addresses besides 127.0.0.1

I am developing a web app that has to produce different output based on ip. For testing and during development it would help a lot if I could have more loopback ip addresses besides 127.0.0.1. Is ...
-1
votes
1answer
305 views

Setting up Virtual Hosts in XAMPP on Windows [closed]

I'm having trouble setting up some virtual hosts using XAMPP. The machine name is server02.bb.net and is only accessible on the Intranet. I want other machines on the network to be able to see the ...
0
votes
1answer
531 views

tftp times out on localhost

On the same server, I can't connect to my in.tftp over localhost name: $ tftp localhost -c put test.file && echo Sent\! Transfer timed out. $ tftp 127.0.0.1 -c put test.file && echo ...
1
vote
1answer
51 views

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 ...
1
vote
1answer
86 views

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]. ...
15
votes
8answers
21k views

MySQL cannot connect via “localhost”, only 127.0.0.1

this is somewhat of a mystery to me. The only way I can connect to MySQL is if I call it via "127.0.0.1" ... for example, my PHP connect script will NOT work with localhost I'm running Mac OS X Lion, ...
7
votes
3answers
2k views

DNS Lookups for local MAMP web server URL taking 5+ seconds

I'm running MAMP on OS X 10.7. I've set up a virtual host in Apache, like so: <Directory "/sites/example.com/"> Allow From All AllowOverride All </Directory> <VirtualHost *:80> ...
0
votes
3answers
109 views

Can I set up port forwarding to emulate not just a port but another IP address?

I am running a proprietary Windows application which functions like a server. You install the program, and then it broadcasts itself over port 13083. The program is web-based, so it's accessed ...
0
votes
3answers
1k views

cant access my local web server with the external IP [closed]

I havent been able to find a solution to my particular problem. I have a MAC which I set up as a web server and configured my router to forward to the local IP. When trying to access my site from ...
1
vote
2answers
3k views

Making websites hosted on localhost available to all on network [closed]

I have a website hosted in IIS on my local PC If I go to http://localhost or http://192.168.1.1 my site comes up. But what must I do to let other users on our network to see my site? I am using ...
-1
votes
1answer
207 views

Running localhost webapp projects under domain name using fiddler2

I have a Tomcat server running on my local dev machine(running Windows8) & I use fiddler2 to assign an alias to localhost as my domain name (www.mydomainName.com), so my application webpages open ...
1
vote
2answers
258 views

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 ...
0
votes
1answer
253 views

Bypass IIS Basic Authentication for localhost

I'd like to have a website authenticated with basic auth, but then also allow the website to access itself locally. That is, I want to allow unauthenticated access only from localhost. In IIS I have ...
0
votes
1answer
191 views

DNAT from localhost (127.0.0.1)

I'd like to set up a TCP DNAT from 127.0.0.1, port 4242 to 11.22.33.44, port 5353 on Linux 3.x (currently 3.2.52, but I can upgrade if needed). It looks like the simple DNAT rule setup doesn't work, ...
0
votes
1answer
665 views

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 ...
1
vote
1answer
424 views

.htaccess - Simulating virtual host wrong link to Parent Directory in Directory Listing

I have a domain dedicated for my local server (.dev), and an .htaccess file which redirects requests like http://folder.dev/subfolder/ to /htdocs/folder/subfolder. It works great and all, except for ...
2
votes
2answers
532 views

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 ...
1
vote
1answer
212 views

Zenoss modeling localhost

Immediately after installing it, Zenoss appears to try to model the server it's installed on. That's fine, but I only understand how to configure Zenoss to model a server via snmp, ssh, or some other ...
-1
votes
2answers
315 views

Forwarding the endpoint (at localhost) of an SSH -L tunnel to another machine

Even after long searching and trying I'm not able to solve the following puzzle: Client A --------------------------> Server B (172.26.15.15/24) ssh -L 4321:localhost:4321 Server C ...
0
votes
3answers
439 views

Redirect localhost requests to a Linux container

I run some linux container on my ubuntu host. Each one of them are running a webapp. To be able to access these webapps, I use iptables to forward port: sudo iptables -t nat -A PREROUTING -p tcp ...
1
vote
1answer
1k views

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, ...
1
vote
1answer
141 views

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 "-" ...
3
votes
1answer
508 views

How to reset and persist the hostname and FQDN of an WIdows Azure Centos instance?

How does one reset a hostname and domain name (FQDN) to localhost.localdomain on a Centos 6.2 Azure Instance? I've tried editing /etc/sysconfig/network, /etc/sysctl.conf, setting the hostname ...
-2
votes
2answers
977 views

Point IP Address to /var/www/ localhost

I am paying for a Virtual Private Server with Linode. I recently set it up with apache to host two different websites. Now that I've added the sites, I can no longer access my index.html file at ...
1
vote
2answers
390 views

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 ...
5
votes
6answers
16k views

SSH login using public key failed

On localhost running sshd service. Created two pairs of rsa keys for root and user1 using ssh-keygen. Copied from root/.ssh/id_rsa.pub to user1/.ssh/id_rsa.pub. Changed permissions to 600. Tried ssh ...
0
votes
2answers
660 views

Don't manage to set up iptables rules for client/server socket exchange on localhost

I am a client/server-IPC-iptables near-newbbie. I have made my homeworks deeply during one year and thought this should work : # cat /root/firewall/iptable | nocomment iptables -F iptables -F -t nat ...
4
votes
1answer
1k views

Cannot loopback to localhost php gateway causing nginx to timeout while setting up firewall with ufw

I'm setting up ufw for the first time. Using Ubuntu 10.04 LTS on an OpenVZ VPN and have the following rules: sudo ufw allow 22/tcp sudo ufw allow 25/tcp sudo ufw allow 53 sudo ufw allow 80 sudo ufw ...
0
votes
2answers
887 views

Hosts file map localhost to existing domain not subdirectory* updated

I am locally developing a website via MAMP and rather than messing with the changing all of my links and etc later on I opened up etc/hosts and added this line 127.0.0.1 localhost mysite.com so ...
2
votes
1answer
14k views

DNS server can't resolve localhost name

I'm trying to set up an Apache server on my RHEL6.4 vm and can't because dnsmasq can't recognize the hostname for some reason: nslookup rhel64.example.com Server: xxx.xxx.xx.1 Address: ...
0
votes
2answers
794 views

Can the name “localhost” in a virtual machine be mapped to IP of host machine?

I have a virtual machine image (using Virtual PC) of Windows XP/IE6 from Microsoft's "modern IE" website. This virtual machine is hosted by a Windows 7 machine. I have a local web application on the ...
4
votes
2answers
14k views

“/etc/apache2/httpd.conf: No such file or directory” error after Ubuntu upgrade

So I upgraded Ubuntu and I went to 127.0.0.1 in Chrome and got "Oops! Google Chrome could not connect to 127.0.0.1" so I restarted Apache but was met with this error: apache2: Syntax error on line ...
1
vote
1answer
70 views

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 ...
1
vote
1answer
920 views

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