Questions related to localhost, loopback. On most computer systems, localhost resolves to the address 127.0.0.1, which is the most-commonly used IPv4 loopback address, and to the IPv6 loopback address ::1.

learn more… | top users | synonyms

1
vote
2answers
289 views

Rename localhost folder. Gives empty screen

I'm trying to rename my apache2 localhost folder. I have already gone to /etc/apache2/sites-enabled/site-name and changed the following lines in the Document: DocumentRoot /home/user/public_html ...
2
votes
5answers
766 views

How to connect to a personal server on residential Internet service

OK!!! I've successfully connected from an external network on both ssh and http. I changed a BUNCH of settings though before I got it to work, so I'm going to slowly change some of them back to see ...
1
vote
3answers
3k views

Accepting SSH connections only from localhost

I just installed SSH and I would like to set it up to only accept connections from localhost. I plan to point a .onion address to it so that I may connect to it from anywhere on any network.
2
votes
1answer
608 views

Cannot ping localhost after a half day of uptime

This just started like 4 or 5 days ago. I'm running Ubuntu 12.04 desktop, and after about 12 hours of uptime it seems the loopback device just stops working. If I do an ifconfig, it looks like it's ...
1
vote
2answers
15k views

Unable to connect to localhost in browser after installing XAMPP successfully

I have successfully installed XAMPP 1.5.3 following this guide on Ubuntu 12.04 and it started with no errors. $ sudo /opt/lampp/lampp start Starting XAMPP for Linux 1.5.3a... XAMPP: Starting Apache ...
3
votes
2answers
9k views

How do I set up FTP on localhost?

On my old machine (back on Lucid!) I used XAMPP for local dev work. XAMPP installed everything for you, including setting up FTP to your localhost (/var/www) directory, since permissions don't allow ...
3
votes
2answers
2k views

Not able to resolve localhost, but 127.0.0.1

I am able to visit 127.0.0.1. When visiting localhost, it is not able to resolve. Here is /etc/hosts 127.0.0.1 localhost # suppose to list all folder + files under /var/www, when visit ...
3
votes
1answer
240 views

What does StackApplet “Network Error” mean?

I just installed StackApplet StackApplet 1.5 using the debian package from the launchpad site. When I first clicked on the preferences button in the menu it tried opening http://localhost:8150/ in ...
0
votes
3answers
4k views

Can't access localhost

I can't access anything inside of localhost, whenever I try to access anything inside of localhost it gives me 403 Forbidden error. I also can't add any files into the var/www/ folder unless I open it ...
2
votes
1answer
379 views

How can I access one desktop session from another on the same machine?

I want to run a desktop session as user A, and from that session access a different desktop session as user B. This way I can test, screencast or share my screen from session B, while having access to ...
0
votes
1answer
425 views

localhost subdomain wildcard

I'm trying to have *.localhost pointing at 127.0.0.1. I read this post which is quite recent and looks promising but dnsmasq can't bind port 53: * Starting DNS forwarder and DHCP server dnsmasq ...
0
votes
1answer
663 views

Ubuntu hostname on lan config

My host computer is Windows 7 64. I have VirtualBox with an Ubuntu 10.04 Server x64 running as guest. My Ubuntu Guest has an ip of 192.168.1.104. I have openssh installed on the guest. I can ssh ...
2
votes
1answer
3k views

How to set exceptions for proxy in Ubuntu 11.10? [duplicate]

Possible Duplicate: Where to set proxy ignore list? I am using Internet through proxy server of our organization. But I don't want to use the proxy server when opening my local websites ...
-1
votes
3answers
3k views

telnet localhost , connection is refused

My localhost(127.0.0.1) is reachable by Ping, and no problem with wget. But, when I try "telnet local host" or "ftp localhost", connection is refused. How do I fix this problem?
1
vote
3answers
1k views

How to I setup a local Wordpress site?

I want to create a site based on Wordpress that is only accessible from my own machine (localhost). In other words, I do not want my computer to be a server. I just want it to have all the files ...
0
votes
1answer
303 views

Access Wiki installation on Host from Virtual Server

Recently I set up a Dokuwiki installation on Ubuntu Server in VirtualBox. My host OS is Ubuntu 11.10. Till date I was using NAT configuration for my VirtualBox. Since today I decided to use Host-only ...
3
votes
2answers
1k views

telnet refusing traffic on arbitrary port over network in 11.10

I have written a python script to listen on port 2626 and executed the script. proof that localhost is listening tcp 0 0 127.0.0.1:2626 0.0.0.0:* LISTEN I can ...
0
votes
1answer
430 views

Apache2 stops working after running a2ensite command

I had my LAMP server crushed for some reason. That's why I've completely removed it and installed once again. Installation was successful and "localhost" is working fine. However every time I'm trying ...
2
votes
1answer
1k views

how can i turn network interface (localhost) on?

localhost is off on my machine. it's described in my /etc/network/interfaces: auto lo iface lo inet loopback auto eth1 iface eth1 inet dhcp but when i run route route -n" with wireless off I ...
1
vote
1answer
858 views

Why can't I access localhost without an internet connection?

For some reason I cannot access localhost without an internet connection in Ubuntu. As soon as I disconnect from the internet (with the networkmanager GUI), both ping localhost and ping 127.0.0.1 ...
0
votes
1answer
3k views

Bugzilla is not running - Access forbidden

I have install Bugzilla according to How do I install Bugzilla? I can't access the files. apparently /usr/local/ drwxr-xr-- 16 www-data www-data 4096 2011-09-19 09:30 bugzilla-4.0.2/ The link from ...
1
vote
1answer
3k views

XAMPP vs. Native LAMP Packages

I'm currently in the process of setting up an Ubuntu Desktop setup for a combination of technical writing, heavy statistics/mathematical analysis, and also server-side development and I wanted to know ...
4
votes
1answer
7k views

problems with sudo permissions - /var/lib/sudo owned by uid

my system is a new 11.04 ubuntu and i recently started working with LAMP. some how, when i tried to change permissions of the var/www/ for netbeans to work on the local server, and did something that ...
7
votes
3answers
7k views

Let Xorg listen on TCP, but only to localhost?

I have some X client program which needs access to an X server. It is only able to access the X server by TCP, not by other methods like unix domain sockets. It will run on the same host as the ...
1
vote
1answer
762 views

ssh connection closes after successful login

I am trying to run ssh on my computer so I can control it with my android phone. When I scan my local network with overlook fing at my phone I get that my computer is running ssh at port 22. So I try ...
4
votes
1answer
4k views

How to access Apache2 virtual host from VirtualBox (or any VM)

I am running Ubuntu 11.04, I have setup my localhost so I access my sites at site1.local site2.local By setting up virtual hosts and adding entries to my hosts file. I want to test them in IE ...
2
votes
4answers
5k views

What would cause 'ping localhost' to fail?

the /etc/hosts file contains a line: 127.0.0.1 localhost so localhost should be a valid hostname, but any attempt to connect to a port on localhost fails, including ping. Connection attempts into ...
1
vote
2answers
541 views

I would like to set 127.0.0.1 in my resolv.conf

I was hoping to set my local host in my resolv.conf to hermes. So in affect if I type in hermes:8080 into the browser, I get the localhost:8080 How is this accomplished? Please and thank you.
4
votes
1answer
1k views

Renaming localhost

By default 127.0.0.1 has the localhost alias. I found several approaches to changing it to a different string, but what is the standard, effective and safe best-practice way of doing it? Can I give ...
3
votes
2answers
791 views

How can I share this local site to not use a sub directory?

I'm working on a site locally that's just sitting in a folder: localhost/tempplace How can I route, with Apache2, that to be like: tempplace:8890 Or just something so it's not a sub ...