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

1
vote
1answer
1k views

ssh localhost exits with “debug1: Exit status -1 ”

I am trying to setup ssh and ssh to localhost on Cygwin, but I am getting the following error. Any suggestions will be appreciated: $ ssh -v localhost OpenSSH_6.0p1, OpenSSL 1.0.1c 10 May 2012 ...
1
vote
1answer
63 views

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

Showing outdated information when using WAMP as local server

I am running WAMP as a local server for the computers in the my network. The problem is that when I try to do any operations to the database from these computers, it seems as if they don't happen, ...
0
votes
1answer
203 views

Mod rewrite subdomains based on query string

I gave localhost an alias: 'myhost'. Entering 'myhost' in my address bar shows me /var/www/index.php. So far so good. Set up an apache virtual host on /var/www and called it 'myhost', then added three ...
2
votes
3answers
876 views

can localhost be spoofed?

Is it possible for a remote machine to access another machine's localhost data by spoofing the loopback ip? Say if I wanted a setup where if I'm connecting from somewhere outside my own network, I ...
-3
votes
1answer
431 views

How to redirect localhost to 127.0.0.1:8080?

Due to unidentified problem, any service pid4 is using port 80 of my Windows 7-64 bit PC's. I ultimately decided to change my default port to 8080. But how can I change the way that when I enter ...
0
votes
1answer
127 views

Iptables allow localhost

I want to allow localhost traffic in iptables so I added the rule iptables -A INPUT -i lo -j ACCEPT When I run iptables -L it shows me that this rule got translated into ACCEPT all -- ...
4
votes
1answer
438 views

Connecting to localhost resolves 127.0.0.1 but connects with external IP [Linux, Debian]

I'm having a problem with a dedicated server, I don't known if it's the default behavior but this is the problem: If I connect to a service located on the server with localhost the service gets as ...
0
votes
3answers
976 views

xampp - can access control panel, cannot access projects/sites on local network

I've configured xampp and firewall so I can access desktop pc's localhost over my local network through desktop pc's IP. But I'm not able to access auctual projects: I can access: ...
0
votes
3answers
766 views

Assigning Multiple IP Addresses to localhost OS X 10.6

I'm attempting to host multiple website locally with HTTPS enabled, but in order to do this I'd need to configure my local machine to use multiple IP address for localhost (I believe). Is there any ...
2
votes
2answers
262 views

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

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 ...
1
vote
0answers
26 views

Sendmail Issue - Local Mail / Inner Domain Mail [duplicate]

Possible Duplicate: Outgoing mail from linux not being delivered Environments: Ubuntu / Sendmail / Google Apps Emailing: I send and receive all of my emails through google apps besides ...
1
vote
1answer
430 views

Kerberos & localhost

I've got a Kerberos v5 server set up on a Linux machine, and it's working very well when connecting to other hosts (using samba, ldap or ssh), for which there are principals in my kerberos database. ...
1
vote
1answer
254 views

Host And Expose Aplication to local small network

I developed a little application (web application) using JavaEE+MySql. I try to keep some data and .. from time to time to get some reports using my data. My problem is I have to access this ...
0
votes
1answer
117 views

xampp and network

I have build a site working on my localhost using xampp on windows7. Now, I my colleagues want to access and use that site in our small office. I tried to access the site using IP address of my own ...
0
votes
1answer
440 views

LocalHost error

Does anyone know why I get this?: Oops! Google Chrome could not connect to localhost:8800 I am trying to use DokuWiki for the first time. It uses MicroApache. When I start it I get the error ...
0
votes
2answers
1k views

500 Internal Server Error when setting up Apache on localhost

I downloaded and installed XAMPP, and to keep my projects nicely separated I want to create a VirtualHost for each one based on its future domain name. For example, in my first project (we'll say it's ...
0
votes
1answer
54 views

network restricted website

How can I restrict my network connections to a only my web-server? EG, a user would connect to my network (WIFI/LAN) when they open a web browser and enter 127.0.0.1 it will load my app. But if they ...
0
votes
1answer
211 views

strange localhost behaviour

I'm trying to implement http digest authentication on part of a local domain. I'm using MAMP on Mac OSX Lion. MAMP uses port 8888 so I can navigate to my domain either at ...
0
votes
1answer
298 views

Redirect Addresses to localhost by Pattern on Mac OS X

I'm not even 100% sure how to ask this question. The answer might be out there, but I can't find it. So I've set up virtual hosts for my Mac and I do all my development locally on my computer. I have ...
2
votes
2answers
474 views

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

VM can't ping localhost on ESXi 4

I have some problem, i have 3 VM (vm1, vm2, and vm3). vm1 is normal. ping to internal and external is OK, DHCP is OK. but vm2 and vm3 very strange. DHCP is OK but can't ping to internal and external. ...
0
votes
1answer
386 views

Default localhost on mac lion moving slowly

When developing on my mac the default localhost server runs very slowly compared to the mamp server. I ran nmap on the both servers and got back a significant difference. Unfortunately, this is out ...
1
vote
1answer
471 views

OpenLDAP on CentOS 6.2 (@ localhost)

I'm trying to configure openldap on CentOS 6.2, I'm just testing openldap on my server at home, so I don't have any DNS server and stuff like that. I already installed openldap using the following ...
1
vote
0answers
337 views

haproxy tcp transparent mode on the same box as service

I'd like to set up transparent HA Proxy for TCP protocol. It works flawlessly when HA Proxy is in front of the boxes that are running the service. But when I try to set up HA Proxy in transparent mode ...
2
votes
6answers
9k 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
1answer
193 views

connecting to local apache2 server from within local network

On machine X I can connect to 127.0.1.1 (I have a php script running on machine X that calls phpinfo() and it runs fine). X machines IP on the network is 192.168.1.101. I go over to machine Y and type ...
1
vote
3answers
2k views

Curl request wont resolve to localhost

I have an ubuntu server running apache on localhost / port 80. It's domain is sub.domain.com If I make a curl request to http://localhost on that machine it will error with 'couldnt connect to host' ...
2
votes
2answers
340 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
259 views

mysql error : "cant connect to local mysql server through socket

Taps Server Error: Mysql::Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) I get this error whenever I try to push my local mysql to heroku postgres. It ...
3
votes
1answer
79 views

Do local cURL requests count towards my network transfer limit?

I have a purchased a hosting that allows me 10 GB of monthly transfer. Will this 10 GB of transfer be affected if I make some cURL requests, from-a-script-to-a-script on the same server (in this case ...
1
vote
1answer
2k views

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: <VirtualHost *:9999> ServerAdmin admin@example.com ServerName www.example.com ServerAlias example.com # Indexes + Directory Root. ...
0
votes
1answer
682 views

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

Removing Apache per user directories

I am trying to access my localhost but I am getting a "Not Found" error. What I am trying to do is get to my Sites directory (/User/[username]/Sites). Right now I have the following commented: # ...
2
votes
3answers
597 views

How do I force BIND9 to bind to a specific IP?

This is my setup: $ ip addr 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo ...
64
votes
2answers
21k views

Why does my hostname appear with the address 127.0.1.1 rather than 127.0.0.1 in /etc/hosts?

This may be a bit of a noobish question, but I was taking a look at /etc/hosts on my new Xubuntu install and saw this: 127.0.0.1 localhost 127.0.1.1 myhostname On most 'nixes I've used, the second ...
0
votes
2answers
299 views

WebApp accessible via localhost but not 127.0.0.1

i'm running a webapp on Jetty (Java application server) on my machine (Win7 pro X64) and i'm experiencing some weird problems: when i try to open it on my browser - it's accessible via localhost but ...
2
votes
1answer
213 views

Downloading from wget - folder issue

I have a website - http://myradio1.localhost and the directory is currently empty. The virtual host works fine, no issues there. This is my command I'm using to download the site via wget: wget ...
2
votes
0answers
160 views

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

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 ]" ...
0
votes
2answers
414 views

How would the outside world access my machine? [closed]

I have a local address e.g: http://127.0.0.1:8125/ -> this works, How would I access this using a different PC lets say from work, or friends house or allow anyone to access this? I am using ...
2
votes
2answers
6k views

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

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 ...
1
vote
4answers
1k views

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 ...
0
votes
3answers
2k views

My external IP opens my adsl model configuration instead of pointing to my server even after PF?

I have forwarded port 80 of my ADSL router modem (DLINK DSL 2640 T) for virtual server 192.168.1.18 which is my server running apache . Problem is typing 192.168.1.18 points to apache webpage on my ...
-2
votes
2answers
379 views

Solving problems regarding accessing localhost over LAN [closed]

I have two computers with IP addresses of 192.168.1.1 and 192.168.1.2 respectively. Both computers have Apache servers installed on them and both are listening to port 8080 rather than 80. I have ...
0
votes
4answers
2k views

.htaccess working on remote server but does not work on localhost. Getting 404 errors on localhost

MY PROBLEM: When I visit localhost the site does not work. It shows some text from the site but it seems the server can not locate any other files. Here is a snippet of the errors from firebug: ...
0
votes
1answer
229 views

cannot access local webserver mac osx lion

When i try to access my local webserver on my Macbook Pro 15". i keep getting 403 Forbidden I have eveything correctly set up in: my hosts en vhosts files. Also is the chmod of the directory in ...
0
votes
2answers
281 views

Spamassassin/Exim (incorrectly) blocking mail from localhost as spam

On our server we've got a problem with spamassassin/exim4 blocking email from our mailing list software as spam. This because (usually) the headers the software (ecartis) adds add points to make it go ...
3
votes
1answer
3k views

Failed to connect to MySQL at localhost

I recently installed MySQL on my machine using MySQL installer. I am using it as part of an Apache Tomcat server I'm running on localhost. I linked the database to Netbeans and everything was ...
0
votes
2answers
236 views

Web application on Local network

This is the same question asked here. I don't know if this issue was resolved. I am unable to connect to my local server from other network PCs. I am using Eclipse with Tomcat to run my web ...