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

tunnel to a webserver with putty and access apache there as if from localhost

I have a webserver with a htaccess rule that permits only contact to a webservice from 127.0.0.1 (I cannot change this). I already configured putty to make a tunnel to that webserver and when I enter ...
0
votes
1answer
145 views

Apache 2.0 is showing only text and not php files

I have a web application written in PHP, html and JavaScript. On my PC, I have installed the EasyPHP program which has Apache and everything installed. I wanted to put this web app on my server and ...
1
vote
0answers
453 views

IIS 7 my site works using localhost but using 127.0.0.1 or my IP 192.168.1.66 fails

My question title basically says it all. I was reading some other questions that are similar to this, but I think I need some help on trouble shooting it. Can't seem to figure it out. Using IIS 7, ...
-3
votes
2answers
117 views

Changing the IP address with a name [closed]

I have a web server (xampp) in a particular PC running on my LAN, and I added the following line in the 'hosts' file : 127.0.0.1 mysite. Then, in another PC connected to the LAN, I'm trying to ...
0
votes
2answers
3k views

How do I access the web server on my desktop from my laptop?

I'm running Apache on my stationary and I would like to access a website through my laptop. This is some of the Apache config: NameVirtualHost 127.0.0.1:80 <VirtualHost 127.0.0.1:80> ...
0
votes
1answer
191 views

Issue with virtual hosts in Mac OSX Lion with MAMP

I'm having issues connecting my virtual hosts. Here's my code. Is there anything missing here? In httpd.conf NameVirtualHost * <VirtualHost *> ServerName site1.local DocumentRoot ...
0
votes
2answers
293 views

hitting a webpage hosted in JBOSS externally

I have jboss 5.0 running a web application I am developing. I am able to hit the pages using localhost:8080 but not my external IP address.. How can i hit with my ip???
1
vote
1answer
76 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 ...
0
votes
1answer
279 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
2k 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 ...
0
votes
2answers
261 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 ...
-3
votes
1answer
633 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 ...
1
vote
3answers
79 views

Apache on localhost needs restart at every boot

I've set up a couple of test sites to run on my desktop Mandriva 2010, some of them fetch part of their content from the www (i.e. Wordpress RSS plugins, Twitter API, etc). However, at every boot ...
1
vote
1answer
399 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 ...
0
votes
1answer
143 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
660 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
2k 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
2answers
3k views

windows server 2003, IIS and localhost

I need to work with the localhost from inside the server in order to run things as schedules. On my workstation with the regular IIS I have 1 webserver with a lot of sites as aliases. In my server I ...
1
vote
2answers
776 views

No ping localhost after starting RAS service with demand-dial PPPoE connection

I have a big problem on my Windows Server 2008 Enterprise x64 SP2 non-R2: There is no ping to 127.0.0.1: Request timeout. Ping to ::1 (localhost on IPv6) is still alive. I mean, server has no ...
2
votes
2answers
310 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 ...
1
vote
4answers
5k views

How can I avoid my web browser from redirecting to localhost using WAMP in Windows7? [closed]

I'm currently using Windows 7 with WAMP to try and work on some software, but my web browsers will not accept cookies from the "localhost" domain. I tried creating a few bogus domains in my hosts file ...
2
votes
1answer
258 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
1answer
918 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
382 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
132 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
6answers
3k views

Can I ping 127.0.0.1 if my computer isn't connected to a network?

Does pinging 127.0.0.1 work on your machine if it's not on the network? Can these two machine be on the same network? machine A (192.168.173.11) machine B (192.168.163.11)
0
votes
1answer
630 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
1answer
55 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 ...
1
vote
1answer
250 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
369 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
663 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
534 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
420 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
654 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 ...
2
votes
0answers
535 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
2answers
4k views

localhost works 127.0.0.1 does not IIS

Very weird problem on IIS. Never had it before: localhost works, but 127.0.0.1 does not. localhost pings to 127.0.0.1. www.mydomain.com also pings to that IP, which is set up in the hosts file, ...
0
votes
1answer
203 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 ...
2
votes
3answers
8k 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
431 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 ...
2
votes
2answers
7k 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
1answer
4k views

SSH connection to localhost ssh_exchange_identification: Connection closed by remote host

Setting up SSH access on local machine for a project. When I ssh -v localhost my connection gets refused. With the following stack-trace. OpenSSH_5.2p1, OpenSSL 0.9.8l 5 Nov 2009 debug1: Reading ...
3
votes
1answer
108 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 ...
0
votes
2answers
961 views

wamp - What do “global” and “database-specific” privileges refer to?

I'm pretty much a newbie with MySQL and WAMP. I just created a new db on localhost, which I called "admin" (original, huh?). On the next page after the creation, the user shows up with 2 lines under ...
1
vote
1answer
4k 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
1k 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
64 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: # ...
0
votes
2answers
252 views

Ubuntu, Siemens router and resolving the localhost

after installing anew Ubuntu 11.04 can't resolve to localhost. I'm trying: root@valk-pc:~# nslookup localhost Server: 10.0.0.138 Address: 10.0.0.138#53 Non-authoritative answer: *** Can't ...
2
votes
3answers
775 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 ...
0
votes
2answers
416 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 ...
0
votes
2answers
860 views

How to configure apache to allow access to subdomain on my local ip address

I would like to have others inside my local network access resources on my computer at outsideprojects.192.168.0.10. I am running Apache and have a virtual host configured so I can access it at ...