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

9
votes
1answer
6k 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 ...
9
votes
3answers
29k views

How to get telnet to localhost working?

I'm working on a local dev setup that requires the use of telnet (playing with setting up a MUD server) so please no feedback suggesting I use SSH as a more secure alternative. However, though I've ...
8
votes
3answers
8k 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 ...
6
votes
1answer
38k views

How to access localhost on Virtualbox host machine

I created a virtual machine on Virtualbox with Ubuntu 12.04 only to install a LAMP solution and use it with my host machine, but I can't access the localhost using the ip (10.0.2.15) in the browser . ...
5
votes
3answers
16k views

How to access localhost:8080 running on ubuntu from windows running into virtual box?

I have the ip address for ubuntu machine, and I want to access the application running on localhost in ubuntu from my virtual windows box. Is there a way to do it? Typing the [inet address]:8080 ...
4
votes
1answer
9k 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 ...
4
votes
1answer
2k 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 ...
4
votes
1answer
158 views

Why is this single-word address being resolved? [closed]

I'm running Ubuntu 12.04. On my work network, there's a single-word address (let's call it foobar) that is responding to pings and HTTP requests, only from my machine. The address is not a TLD, just a ...
4
votes
1answer
3k views

VirtualHost In Localhost Is Not Accessible From Localhost When Offline, How To Fix It?

I am setting up my own local development web server, mainly for theme development. I've successfully setup LAMP in Ubuntu 13.04 64bit Desktop, apache works fine. The machine where LAMP is installed ...
3
votes
2answers
2k 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 ...
3
votes
3answers
5k views

Local only sendmail that delivers all mail to a directory

I have a development Ubuntu Server (12.04.1) VM that I use to develop php sites and e-commerce sites (like Magento etc). Because this is for development purposes, and I need to test with e-mail ...
3
votes
3answers
23k views

Cant SSH localhost

I can't SSH localhost. I have installed OpenSSH server as well on my Ubuntu 12.04 LTS (32 bit). connected to net (ip : 192.168.1.2) installed hadoop, running hadoop for local machine. Here's what I ...
3
votes
1answer
4k views

access webpage through ssh

I need to access the IEEE xplore, but I don't have right to download out of institute. I can login into the server of institute via ssh, so How can I access IEEE xplore through institute server via ...
3
votes
4answers
8k 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 ...
3
votes
2answers
796 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 ...
3
votes
1answer
1k views

How can I open my Meteor app's port to the local network

I'm running a MeteorJS app on localhost:3000. I'd like to allow other computers connected to my network access to view the app by visiting my IP address. Any ideas on how I can do this? EDIT: I'm ...
3
votes
1answer
583 views

Create multiple aliases for localhost addresses on different ports

I have some webapps running on my localhost that I can access by my web browser at different ports. For example I have an IPython notebook server running on port 8888 (I can access it at ...
3
votes
1answer
300 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 ...
3
votes
2answers
13k 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
1answer
160 views

Local website reachable in chrome, not in firefox

I created a virtual host in Apache called rwlocaties.dev listening on any address. In /etc/hosts I added: 127.0.0.1 rwlocaties.dev In Chrome I can browse to rwlocaties.dev and use the website as ...
3
votes
2answers
3k 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 ...
2
votes
2answers
7k views

How to change port number utorrent in ubuntu?

I just installing Utorrent in ubuntu but I want to change the port number localhost:8080 to localhost:8085 because my apache geronimo server using that port number. can i change the port number? ...
2
votes
1answer
4k views

Nginx unable to connect

I am referring to this link to install Nginx on Ubuntu: Installing Nginx With PHP5 (And PHP-FPM) And MySQL Support (LEMP) On Ubuntu 13.04. sudo su — Runs OK. apt-get install mysql-server ...
2
votes
2answers
305 views

trouble accessing www folders - permission or ownership?

Trying to access a folder inside /var/www with: cd layout I get the following response: bash: cd: layout: Permission denied When I list the details, I get: drwxrw---- 7 www-data www-data 4096 ...
2
votes
1answer
286 views

Generate a proper 404 page for blocked sites via /etc/hosts instead of redirect to localhost

I have blocked some websites by editing /etc/hosts and adding several newline-entries in the following manner: 0.0.0.0 www.domain.com And it works. The only thing is: when a website is visited which ...
2
votes
1answer
2k 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 ...
2
votes
2answers
5k views

Deluge daemon connection?

My deluge-console is suddenly giving me this error Failed to connect to 127.0.0.1:58846 with reason: Connection refused why is this error.I have done nothing and the GUI deluge runs fine.Its the ...
2
votes
2answers
1k views

How to inspect localhost from my smartphone?

Ideally I'd like to expose a port, like 8080 or something, to the web, so that I can run a website on my desktop and inspect it on my smart phone or show it to a client and so on. How do I expose one ...
2
votes
5answers
1k 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 ...
2
votes
1answer
413 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 ...
2
votes
3answers
2k views

Can't ssh with IP alias

This is may sound like a weird prob. I am able to seamlessly ssh to remote hosts and also to "localhost". As part of requirement, I have modified the /etc/hosts file with below entries: 127.0.0.1 ...
2
votes
1answer
903 views

Localhost still exist after deleting xampp

After installing xampp, somehow localhost bugged on me. I put my files, changed permissions, in the end deleted the xampp, but I always get this message: It works! This is the default web ...
2
votes
0answers
114 views

Local domains stop working

I have several sites configured in my local machine. I use Ubuntu 12.04 for long time and had these sites working well. Only few days ago from some reason they all stopped working. When I navigate to ...
2
votes
0answers
779 views

Apache 2.4 and mod_perl 2 on Ubuntu 14.04: local configuration

I'm trying to get Apache 2.4 configured such that I can test mod_perl 2 code locally (I should note that I have little recent experience with Apache). I've installed both of them on a machine running ...
2
votes
0answers
2k views

Sharing files and devices between 2 Linux machines

A couple of versions of Ubuntu ago, (guessing about 10.10, no later than 12.10) I used to open Nautilus, type in the local IP address of a Linux machine on my network, and it would pop open a box ...
2
votes
0answers
210 views

I cannot get the localhost webserver on firefox to display jpg or jpeg files

I am running Ubuntu 12.04 LTS and Firefox. I cannot display jpg files when browser starts up. But if I click on ICON there is no problem. I am attaching a few screen shots. Am adding display from ...
2
votes
1answer
695 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 ...
2
votes
1answer
4k 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
vote
3answers
2k 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 ...
1
vote
1answer
2k views

How to access localhost on my ubuntu laptop from android tablet? [closed]

I'm developing websites and I want to preview the ones from localhost on my Nexus7.
1
vote
3answers
5k 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.
1
vote
1answer
4k 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 ...
1
vote
2answers
633 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.
1
vote
2answers
3k views

create an alias for `localhost:8080/` as `www.my-domain.com/`

In ubuntu, I want to create an alias for localhost:8080/ as www.my-domain.com/. So that whenever I type www.my-domain.com/ in URL field, it shows up from localhost:8080/. What is the easiest way to ...
1
vote
2answers
15k views

how to load xampp graphical UI?

I just Install Xampp But maybe somewhere i Missed It Because I can't Load Any Xampp GUI. Also The Browsers Is Not Working Local host URL. Thank you
1
vote
1answer
4k views

Problem with apache 2.4.6 on ubuntu 13.10 no rewrite for wordpress links

My rewrite was working well until i updated my apache and than went dead . My 000-default.conf <VirtualHost *:80> # The ServerName directive sets the request scheme, hostname and port that ...
1
vote
3answers
212 views

Chrome Ubuntu loading apache2's localhost instead of remote website

I'm a web developer and do local development through apache2 on localhost. However, sometimes when going to remote websites, well known websites like sky.com or bbc.com instead of loading that ...
1
vote
1answer
227 views

localhost is wrong ip address

I'm having a bizarre problem. It started with postgresql-9.3 not installing. I found it couldn't find localhost. I checked /etc/hosts and it has localhost properly as 127.0.0.1 But when I ping ...
1
vote
2answers
90 views

Why isn't my BIND configuration correct?

I'm new to all this and want to create a new zone called "example.net". I want this domain to be interlinked with my current virtual machine's IP address 192.168.1.4. When I run the command: sudo ...
1
vote
1answer
148 views

How can I create Logical Loopback on Ubuntu? [closed]

How can I create a logical local loopback like the procedure here for a Juniper router. (Not talking about 127.0.0.1) Configure a Local Loopback Action To configure a local loopback without ...