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

4
votes
1answer
2k 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 ...
2
votes
1answer
631 views

Virtual host not working in Apache2 Ubuntu 14.04 after doing all steps

I am trying to make name based virtual hosts in Apache2 with Ubuntu 14.04, after doing all these step, I am redirected to localhost but not to the file on my virtual directory. What I already did; ...
2
votes
1answer
658 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
1answer
799 views

Passwordless ssh error

I am trying to enable passwordless ssh for Hadoop 2.6.0. The method I tried is as follows: ssh-keygen -t dsa -P '' -f ~/.ssh/id_dsa cat ~/.ssh/id_dsa.pub >> ~/.ssh/authorized_keys I also ...
1
vote
1answer
449 views

Problem after removing Apache2

I've tried to remove Apache2 by : sudo apt-get remove apache2 Next : sudo apt-get autoremove After that, on http://localhost still appears following text : It works! This is the default web ...
0
votes
1answer
20 views

cannot ping localhost

I am not able to ping localhost ashish@ashishk:~$ ping localhost PING localhost (127.0.0.1) 56(84) bytes of data. ^C --- localhost ping statistics --- 16 packets transmitted, 0 ...
0
votes
1answer
105 views

Cannot access the localhost of the guest OS in VirtualBox

I have an Ubuntu 14.04 OS as my host OS and CentOS 6.6 (Minimal) as my guest OS running on VirtualBox. I can SSH the guest OS from my Ubuntu terminal, but I can't access the localhost of ...
0
votes
1answer
145 views

“Localhost” and “127.0.0.1” come back with server error but Apache “it works!” page displays on another ip

I am so new to all this, so please be gentle with me. I am running Ubuntu server on a Virtualbox on a Windows 8 machine so I can install Omeka and build content prior to finding a hosted solution. I ...
0
votes
1answer
220 views

php showing source code in localhost

i have apache2 (Server version: Apache/2.4.7 (Ubuntu) Server built: Mar 10 2015 13:05:59), mysql and phpmyadmin. While accessing php file by http://localhost/ or http://ipaddress It shows up ...
0
votes
1answer
123 views

problem with localhost And 127.0.0.1 on ethernet network in ubuntu OS 14.04

I have two computers on my network and both are running Ubuntu. The server (192.168.61.150): When I enter in the browser address is http://localhost to my site loaded correctly. But when I write ...
0
votes
1answer
816 views

127.0.0.1 and localhost not working

I have installed apache2 on my local machine (ubuntu 14.04). I am able to see this screen ("It Works!" screen) by using my network IP (xxx.xxx.xxx.xxx) but not using localhost or 127.0.0.1: Can ...
0
votes
1answer
238 views

Ruby on Rails on ubuntu 13.04 using rvm

I am trying to get WEBrick to work rvm gemset list gemsets for ruby-1.8.7-p374 (found in /home/simon/.rvm/gems/ruby-1.8.7-p374) (default) global => simple_cms my gem list gem list *** ...
0
votes
1answer
412 views

How to temporarily override a DNS setting for a certain domain name to point to localhost?

I need ubuntu to use a certain domain name to point to a localhost address temporarily. How could I confgure for that ?
0
votes
1answer
224 views

Problems with permissions in apache Ubuntu 13.10

I have had some problems with setting up my localhost. I have been following this guide --> how-do-i-set-up-a-local-domain-name-in-apache-and-ubuntu But now I'm stuck my localhost only returns a 403 ...
0
votes
1answer
505 views

Error 503 - Varnish cache server

Note: This website won't let me post images or more than 2 links due to lack of points. The complete message is available with all the screenshots and all the links here. I'm on Windows 7, and I have ...
0
votes
1answer
109 views

error in displaying local wordpress website

i have installed wordpress correctly on my Xubuntu 12.04 and it works perfectly normal for my system, when i access the same on another system then it doesn't show the page UI properly, means there is ...
0
votes
1answer
22 views

Looking wepage trought localhost

I want to look my webpage saved on my computer but some js and ajax stuf doen't work, because it's not on server or something. I understand, that you are suposed to use localhost somehow. How can I ...
0
votes
1answer
296 views

.profile file not getting updated in Ubuntu 12.04, trouble installing mysql

I'm trying to install mysql in ubuntu to run ruby on rails. I was going through the tutorial at Lynda. I have successfully installed ruby, gem & rails. ruby -v ruby 1.8.7 (2011-06-30 patchlevel ...
0
votes
1answer
584 views

Video runs locally but not on apache 2 server

I have a simple html page in which i am running video using html5 tags, when i run that page using firefox it runs the page and video properly. But when i run this page by setting the apache server ...
-1
votes
1answer
27 views

PC visibility in local network

The thing is my pc with ubuntu installed is not visible in local network. I want to test web-app which is working on my pc (localhost:8000). From my phone destination is unreachable. Should i allow ...
-1
votes
1answer
76 views

standart apache installation on localhost is not visible outside the localhost, right?

Iḿ new to ubuntu and install apache2 php and mysql with this instructions: enter link description here As far as i know from windows, default xampp installation for example runs only on localhost, ...
-1
votes
1answer
402 views

HTTP Status Code 500 Upon Accessing Localhost Project

I just installed LAMP on my Ubuntu and upon accessing a file which I am certain that is with valid syntax, I get the 500 internal error status code. I chmodded the directory for the projects ...
2
votes
0answers
260 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
197 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 ...
1
vote
0answers
44 views

Have localhost with dual boot (Windows/Ubuntu) share htdocs & mysql databases with XAMPP

I just got a new machine with dual boot Ubuntu+Windows 8.1 and set up a localhost using XAMPP in a way that allows me to edit and preview the files on both OSes (so htdocs and mysql databases have to ...
1
vote
0answers
56 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 ...
1
vote
0answers
63 views

Fresh install of ubuntu SSH only working from localhost

I installed the latest version of ubuntu on ESXi as a VM. I then installed openSSH and it worked once from a remote machine and got hung up when trying to execute a command on mysql. Ever since I ...
1
vote
0answers
61 views

how can I unsecure Xampp in ubuntu?

when I access my IP in some other computer it requires username and password , I want no such type of security I want direct access to my xampp, phpmyadmin directory in any computer in same network. ...
1
vote
0answers
1k 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 ...
1
vote
0answers
121 views

Localhost port aliased

I wanted to use /etc/hosts to define "aliases" for multiple services localhosted like: 127.0.0.1 localhost 127.0.0.1:8080 machin 127.0.0.1:8081 truc But it doesn't seem to work, surely because ...
0
votes
0answers
21 views

Problem with Phpstorm 9.0.1 on Ubuntu 14.04

I installed Phpstorm 9.0.1 on Ubuntu 14.04 And set php interpreter on php storm setting but when I click on browser icon on PhpStorm to open file in browse, it open browser and show:
0
votes
0answers
20 views

I-frame run on https://localhost won't display https website contents

I created a page with an iframe which runs on localhost and configured it to run on http://localhost as well as https://localhost. When I put a http website address in the html code of the page in the ...
0
votes
0answers
40 views

Ubuntu wants localhost login, won't accept any input

After trying a thousand things over countless hours to get Ubuntu 14.04.2 LTS server installed on my Macbook 2,1 (loosely following these instructions), I finally got something that seems like a ...
0
votes
0answers
32 views

Internet connect through ISP to local server's root and other folders

This is complex so let me explain I have successfully connected to my local dev server which is Ubuntu 14.04 LAMP setup. I have done this by using a no-ip to handle the dynamic DNS, and forwarding ...
0
votes
0answers
16 views

Know location from which port is running?

When I boot my pc, port 11000 is always open and shows a website on localhost:11000. I want to delete it permanently and remove files related to it.
0
votes
0answers
40 views

How do I change the tab icon used by my localhost within my browser?

I have MediaWiki on my Ubuntu 15.04 PC running through Apache and MySQL. Presently it is installed the old fashion way, by following instructions on this page, but when I first started using MediaWiki ...
0
votes
0answers
60 views

How to fix LocalHost Error

I am a student of computer science. We were asked to install XAMPP to use MySQL. There was a warning that antivirus software could affect XAMPP. My XAMPP works well but I cannot access LocalHost ...
0
votes
0answers
10 views

dansguardian blocks localhost regardless of siteexceptionlist

Im having a problem with dansguardian, a proxy which filters internet content. My current configuration is a blanket block (blocks everything) with some exceptions. I want the child account to be able ...
0
votes
0answers
47 views

make render farm with openstack in localhost

I want to make render farm. I have private openstack in collage lab. I have connection internet but not have an authentication URL. It's possible ?
0
votes
0answers
62 views

Hostapd with localhost server

I have hostapd and isc-dhcp-server working on my linux 14.04 box. My WiFi devices can find the hotspot and are assigned an ipaddress. At this point there is no connection through to eth0. I also have ...
0
votes
0answers
133 views

stream_socket_client(0 errors

I get these errors all the time in my wordpress running ubunutu server 14:04 in vmware local host ubuntu install. [Tue Mar 17 09:05:17.683916 2015] [:error] [pid 1098] [client 192.168.142.1:53931] ...
0
votes
0answers
246 views

Simple Netbeans Php Project displays 'The requested URL /PhpProject2/index.php was not found on this server' when run as 'Local Website'

I'm new to LAMP. I have followed Configuring the PHP Development Environment in Linux Ubuntu Tutorial and have two separate Netbeans projects with the same code in them: <!DOCTYPE html> ...
0
votes
0answers
123 views

Ubuntu server does not display any webpage in browser

Initially I was installing Wordpress on Ubuntu, it does not display Wordpress install page, so then I took it off of var/www/html and realize that Ubuntu does not display any web-page including the ...
0
votes
0answers
27 views

LAMP not finding directory

Disclaimer: I'm very new to ubuntu Previously, I used WAMP to setup my websites on localhost. Since I'm fully switching to ubuntu for dev I installed LAMP When I go to /localhost it confirms that ...
0
votes
0answers
39 views

/var/spool/postfix/etc/hosts is not sync with etc/host

/var/spool/postfix/etc/hosts is not sync with etc/host file. I am using nscd and editing hosts file through etc/hosts. If I delete /var/spool/postfix/etc/hosts, would it recreate itselft safely?
0
votes
0answers
199 views

Installing Drupal 8 on a LAMP stack… 404 not found, alternate installation instructions?

I installed a LAMP stack, and followed instructions on how to install Drupal 8, but the page is 404 ing, there is either a problem with the steps, or how I followed them, and I am open to alternate ...
0
votes
0answers
64 views

Ubuntu Localhost login

I have a chromebook. I just installed Ubuntu xfce. I turned my computer off and turned it back on and when I tried to switch to Ubuntu I get the localhost login thing. I try to login and it says its ...
0
votes
0answers
48 views

localhost is slow

my wireless connection is still not working so I'm linked to my phone, which is way to slow for internet, but at least is good for replying at emails. Is true that I'm new to ubuntu but I'm trying to ...
0
votes
0answers
119 views

Disable listing of files apache2

I am running an apache2 server on Ubuntu 14.04 and and whenever I connect to localhost, it shows Index of / Name Last modified Size Description (files are stored in my /var/www/html) ...
0
votes
0answers
29 views

Send requests to ubuntu pc locally

I've got an Google App Engine instance on my ubuntu laptop and I want to send requests to it from a different machine, on the same local network. After I find my local address via ifconfig -a I tried ...