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
537 questions
2
votes
1 answer

Apache log configuration

how to disable apache access log for localhost requests? or for specific IP?
bbzer
2
votes
3 answers

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…
Hailwood
  • 49
  • 7
2
votes
3 answers

VPS set up for MySQL

Our VPS is set up in such a way that all databases are accessible from any domain via localhost and the username/password/dbname. Is this the usual set up, or should there be some way of 'jailing' each user so they cannot access other databases on…
Owen
  • 356
  • 5
  • 19
2
votes
2 answers

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 ~/Username/Sites folder from the guest OSs via the…
2
votes
4 answers

Apache web server and accessing my website outside local machine

So I installed Apache web server/MySQL/myPhpAdmin on my windows machine. It's on my desktop. Everything works where if I go to http://localhost, localhost/phpinfo.php and localhost/phpmyadmin.index.php they all show up on my machine. Now I want…
Eric
2
votes
1 answer

Is adding servername as an alias for localhost/loopback correct?

On linux systems, I've seen many variations of /etc/hosts configurations with regards to the loopback address, localhost, and server aliases. Some include the servername as an alias for the localhost/loopback address (127.0.0.1), and others don't.…
nezroy
  • 122
  • 6
2
votes
1 answer

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 gracefully. Any ideas how I can block localhost port…
Mark Henderson
  • 68,316
  • 31
  • 175
  • 255
2
votes
3 answers

Wireshark won't pick up packets sent from localhost to localhost via network

I'm running on Windows and trying to get Wireshark to pick up my network traffic. It picks up all outbound and inbound traffic fine, except for a client/server I'm running on my local system. As it is, even when I'm sending packets through my LAN…
Rushyo
  • 227
  • 2
  • 9
2
votes
1 answer

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 success messages, saying emails have been sent but…
paperclip
  • 123
  • 1
  • 5
2
votes
3 answers

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, and I know Visual Studio 2008, SQL Server 2005…
Arjan Einbu
  • 161
  • 1
  • 6
2
votes
1 answer

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 WebProjects and access them via the browser, it…
input
  • 123
  • 4
2
votes
2 answers

Accessing local files through an http:// address

I would like to access a folder of mp3 files on my local Windows machine through http:// addresses. For example, typing http://localhost:9999/songs/test.mp3 into my browser would play test.mp3, which sits in a specified folder on my C: drive. What…
RexE
  • 369
  • 1
  • 5
  • 11
2
votes
2 answers

Trying to get rid of localhost in outgoing email -- Sendmail

I'm running sendmail and I've appeared on the CBL. I've already fixed a couple issues, but I can't figure out how to get rid of these last two localhost mentions. I commented out the localhost line in my /etc/hosts file and I made sure that there's…
Stephane
  • 121
  • 4
2
votes
3 answers

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 java.net.UnknownHostException: S1: S1 at…
xain
  • 657
  • 3
  • 12
  • 24
2
votes
1 answer

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 made a change to some Windows setting, and now…
Adam A
  • 151
  • 1
  • 7