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

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 ...
1
vote
2answers
433 views

How to check what local server is installed in my machine?

How do I know if my machine (Ubuntu) is using some local server? Like wampp, xampp or lampp? And also how do I know my Ubuntu version something like that?
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
545 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
643 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
129 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
411 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
37 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
52 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
115 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
418 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
212 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
351 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
222 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
479 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
101 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
288 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
533 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
26 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
68 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
370 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
88 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
190 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
37 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
53 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
57 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
109 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
20 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
11 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
27 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
29 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
9 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
38 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
46 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
97 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
180 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
87 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
22 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
32 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
158 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
54 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
31 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
103 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
28 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 ...
0
votes
0answers
99 views

port 8000 unreachable in Ubuntu VM

I'm trying to connect with PredictionIO in a Ubuntu Virtual Machine (running on Virtual Box). But when I try to connect with: bin/start-all.sh I get this error: 8000 unreachable I already ...
0
votes
0answers
23 views

nginx on ubuntu 12.04 localhost does not render

I installed nginx software and http :// localhost does not render. What to do in default to make localhost show website?
0
votes
0answers
235 views

Problem after moodle installation

After I had installed moodle, the next time when I started moodle from: localhost, every time browser redirects me to localhost/moodle, with the error "404 not found". I am unable to detect the ...
-1
votes
0answers
11 views

How to install XAMPP twice?

How to install XAMPP (or any other similar web-server constrution) twice on localhost? I heard its possible to do it by installing into different ports. Is it true? And how to do it?