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

2
votes
2answers
1k views

iptables: what does “--src-type LOCAL” mean exactly?

The iptables man page defines it as "a local address" but does this refer only to the 127 range (localhost) or does it include 10, 169, 192 as well ?
2
votes
3answers
2k views

editing apache vhosts and ubuntu hosts file?

I have just installed ubuntu (11.04). I have installed apache/mysql/php etc. I have a few sites sitting in /var/www/site1 /var/www/site2 /var/www/site3 I want to be able to access these at ...
2
votes
4answers
3k views

MySQL Database is DROPPED can I recover it (on localhost)

Is there anyway to get my database back? I've dropped it accidentally.
2
votes
3answers
694 views

hosts file and multiple sub-domains

For local testing (and learning), I wish to use x.com host name instead of localhost. I changed my Windows XP host file to this - 127.0.0.1 x.com Now http://x.com/ works beautifully but ...
2
votes
3answers
2k views

Why is the localhost entry missing in hosts file?

I have had this problem twice (on two different computers), that the localhost entry is missing from the host file. How could this have happened? The computer was installed with Windows Vista SP1, ...
2
votes
2answers
350 views

When using netstat on a listening port what is the difference between localhost:6666 and [::]:6666 in 'Local Address' field

Using ubuntu 11.04, I run netstat -nplt the results for local address may be localhost:6666 or [::]:6666 What is the difference? I believe that the [::]: binds the service at ...
2
votes
3answers
533 views

Access 127.0.0.1 on a local network

I usually write code, not administer servers, so bear with me here! I'm running a python script to act as a webserver and I also have Apache installed on the same machine. When I run the python ...
2
votes
2answers
319 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
512 views

Apache log configuration

how to disable apache access log for localhost requests? or for specific IP?
2
votes
3answers
859 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 ...
2
votes
1answer
3k views

Setting up Mac localhost mail server on OS X

I was advised that this may be a better location for my question than SO. I've been trying to setup my Mac OS X (10.5.8) to send emails from localhost so that I can test my scripts. I normally get ...
2
votes
4answers
21k views

Cannot get proxy.pac file to get browsers to go DIRECT for localhost

I am gonna throw this problem out into the wild. We have just started using a proxy to log users internet usage against login names. This is setup on ISA Server 2004 (which is on our Internet gateway ...
2
votes
1answer
1k views

Can't access local apache virtualhost using Chrome [closed]

I have a few virtualhosts on my localhost apache, here's the config of one (the others just change the letters before .localhost) <VirtualHost *:80> ServerAdmin admin@dev.localhost ...
2
votes
2answers
720 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 ...
2
votes
2answers
1k views

Localhost stop resolving after a few minutes IIS 7.5

I am running IIS 7.5 on my local machine (Windows 7 Home Premium) and localhost works for about three requests and then stops taking requests. The strange thing is when I switch to calling it with ...
2
votes
3answers
11k views

Problem with tomcat and getLocalHost exception

I'm running a Linux server named S1 in a "cloud" server, and when tomcat 6.0.24 starts, I get the exception: org.apache.catalina.connector.Connector pause SEVERE: Protocol handler pause failed ...
2
votes
3answers
388 views

Need help setting localhost

Help! I'm trying to convince my Apache to point localhost to /Sites. What am I doing wrong? httpd.conf settings <Directory /> Options FollowSymLinks AllowOverride None Order ...
2
votes
2answers
564 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 ...
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 ...
2
votes
2answers
4k views

Ubuntu + Nginx 127.0.0.1 works but localhost doesn't

this one is weird, because I don't have any error messages. I have a very basic default file: server { #listen 80; ## listen for ipv4; this line is default and implied #listen [::]:80 ...
2
votes
2answers
505 views

localhost In Outgoing Messages

I have exactly the same problem as this. In a nutshell I am using mime::lite to send admin emails but they appear to be being flagged as spam because localhost[127.0.0.1] appears in the headers. My ...
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 ...
2
votes
1answer
616 views

setting documentroot in apache

i've set the documentroot in httpd.conf as: DocumentRoot "C:\Users\user1\Documents\WebProjects" if the files are located in WebProjects, they work; however if i create a sub folder [project] in ...
2
votes
1answer
168 views

Why don't ports resolve correctly for localhost and {my server name}?

I set up VisualSVN Server, and SQL Server on my local machine. VisualSVN was set up to use https://dell/svn/ as the repository root. I was connecting to SQL Server using "localhost". At some point I ...
2
votes
2answers
2k views

Accessing PC localhost from Mac over WiFi

I have a web service running on the localhost of my PC. I set up an ad hoc local wifi network and I would like to access the web service from my Mac. Can this be done? What would the url to my web ...
2
votes
1answer
17k 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: ...
2
votes
3answers
295 views

iptable localhost connections reported to be blocked, but work ok

I am using fwbuilder and have tried setting up rules that both allow lo interface and source ip 127.0.0.1, as follows: $IPTABLES -A INPUT -i lo -m state --state NEW -j ACCEPT $IPTABLES -A OUTPUT ...
2
votes
2answers
1k views

Can't access mamp server with internal IP

Running MAMP 2.1.1 on my 10.7.2 OS X Mac Pro. I can access server if I choose a port (such as the default 8888) but changing it to port 80 causes it to not work, except with localhost. This used to ...
2
votes
1answer
283 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 ...
2
votes
0answers
573 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
0answers
240 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 ]" ...
2
votes
1answer
426 views

how to access the localhost of a virtual machine

I'm using ubuntu server as a VM on my mac, its address is 10. 211. 55. 11 i just installed django server, and it started on the localhost of 127. 0. 0. 1: 8000 (this ubuntu is originally a rails ...
2
votes
1answer
780 views

How do I get a subdomain on Xampp Apache @ localhost?

**UPDATE- I got it working now, I just had to change to The port number is important here. I just modified my windows HOST file @ C:\Windows\System32\drivers\etc and added this to the end of it ...
1
vote
3answers
2k 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 ...
1
vote
4answers
39k views

How to access localhost from by ip address? [closed]

I am trying to access localhost by my ip address. My ip address is/was http://217.164.79.62/ (It is set to be automatically assigned so it keeps changing). When I enter http://localhost/ into the ...
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
2answers
321 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 ...
1
vote
2answers
89 views

Why doesn't mySQL allow users@'%' from localhost?

It seems that the solution to accepting users from localhost is to create a copy of the user with @'localhost' (in addition to user@'%'). I'm trying very hard to understand the logic here, because it ...
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
vote
3answers
87 views

How *much* server resources needed to make a *decent* cross-browser testing server

In my company we need to test our website (that we develop), On many browsers including: IE6 IE7 IE8 Safari Firefox 2 Firefox 3 Chrome This is a very time consuming task since we test it in many ...
1
vote
2answers
654 views

reset root password in mysql without access to mysql table [duplicate]

Possible Duplicate: reseting mysql root password I am having an issue on OS X 10.7.5 as I used to use MAMP but for .htaccess issues I am now using my own compiled local server from a long ...
1
vote
2answers
247 views

JBoss basic access

I have JBoss 5 deployed on Solaris 10 - the servers connection has unrestricted high ports (>1023) open to the internet. I can access the box via ssh & FTP from a second server on the same subnet ...
1
vote
2answers
771 views

How can I connect to a database from another computer?

Hi all I'm trying to access a database that is hosted in a laptop "database_server" from my android device which is both connected to the same network. The project is running at ...
1
vote
1answer
2k views

Configure Dovecot to only let localhost connect via imap

How do I configure the Dovecot message delivery agent to only allow imap connections from localhost?
1
vote
3answers
748 views

How to get local webserver to my external ip

Problem: I am trying to run a webserver from my computer. I see the request getting to the server, but am unable to see the page on the browser due to a "Errno 10054: An existing connection was ...
1
vote
1answer
39 views

When connecting to localhost, does a full SYN, SYN-ACK, ACK handshake still occur?

This question is addressed, primarily for Linux. While I could find the answer myself, I'm hoping someone out there just knows the answer implicitly and can save me some time. If I'm connecting to a ...
1
vote
1answer
247 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
vote
1answer
401 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 ...
1
vote
3answers
7k views

phpMyAdmin not found on Windows [closed]

I installed WAMP server 2.2 on Windows 7 x64. I clicked on its system tray icon and put the server online. Then I select PhpMyAdmin and I get a 404 page. Localhost successfully gives me the Apache 2 ...
1
vote
1answer
6k views

How can I set up another alias like “localhost” to point to a folder within htdocs?

Hi Everyone So I have xampp running, localhost or 127.0.0.1 will take me to htdocs within my xampp folder. Is there a way I can use a similar name such as localhost2 on the same machine to take me to ...