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
1answer
4k 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
1answer
726 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
44 views

Ubuntu is trying to resolve local IP addresses

I run into a big problem on my project yesterday. I have a local server which I connect to through websockets. Everything works fine. The next step of the project was to use it when the network wasn'...
1
vote
1answer
3k 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
198 views

How to stop the local port forwarding?

I was trying local port forwarding and I hit the following command: ssh -L 8080:www.ubuntuforums.org:80 <host> in order to see what will happen. Now, on my computer, when I hit "http://...
1
vote
1answer
962 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; ...
1
vote
1answer
708 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
54 views

/etc/hosts configuration error , ping not working

I am newbie to ubuntu plus kerberos , trying to configure kerberos in my vm ubuntu by i am not able to pass the step 2 in configuring hosts .below are the files. i am in the process of learning so ...
0
votes
1answer
150 views

django - how to change localhost from 127.0.0.1 to 127.0.0.1:8000? [Solved]

I'm using Wagtail cms on django framework, problem is localhost address, I want to access to the site running in 127.0.0.1:8000 by localhost? I tried hosts file, but no luck !
0
votes
1answer
144 views

404 not found on ubuntu 15.10

I have installed Apache2 and perl on ubuntu 15.10. When i try to run a perl program on the server it says. Not Found The requested URL /cgi-bin/test.pl was not found on this server. But i'm able to ...
0
votes
1answer
65 views

How to make localhost as first match host name for shared ip(127.0.0.1)?

To install Cloud Manager successfully in my system (14.04/64b), I shared my localhost ip 127.0.0.1 to my system account. I edit my host(arul-pc) ip in /etc/hosts/ from 127.0.1.1 to 127.0.0.1 as shown ...
0
votes
1answer
59 views

Mask ip on ubuntu

I wat to mask my ubuntu station in the following way:I am having an internet connection with dynamic ip (PPPoE).I want to make some static ip and dns over that connection and use them when I go out.I ...
0
votes
1answer
46 views

Can my local host get attacked if I don't port forward?

Can my local host get attacked if I don't port forward? I'm currently running a server which for a certain app, I'm having problems with passwords and decided that is easier if I leave them default, ...
0
votes
1answer
117 views

Postfix doesnt know own hostname

in my postfix logs I often see that postfix failed to send an email to root@levinus [my hostname] because theres no DNS record for levinus. But in my /etc/hosts is an entry for levinus (--> 127.0.0.1 ...
0
votes
1answer
1k views

Unable to load mod_alias in apache

Runing the command sudo service apache2 restart output : * Restarting web server apache2 [fail] * The apache2 configtest failed. Output of config test ...
0
votes
1answer
223 views

How to change Ubuntu server domain name?

I'm using Ubuntu server in my local network. I access the hosted sites on it from other computers using the local ip address. for example: 192.168.100.2/info.php/. I want to set a domain name to use ...
0
votes
1answer
160 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
663 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
845 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
4k 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
191 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 http:/...
0
votes
1answer
4k 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 ...
2
votes
0answers
147 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
1k 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
216 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 "env"...
1
vote
0answers
215 views

What should be /etc/hosts entry so that it works fine for both localhost & IP address?

Sample etc/hosts: 127.0.0.1 localhost 127.0.0.1 DEVubuntu 192.xxx.xxx.xxx DEVubuntu This is not working for me. I am not able to run Zookeeper and I am sure it's related to the ...
1
vote
0answers
269 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
105 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
83 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. I'...
1
vote
0answers
172 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
5 views

How can I retrieve Mysql Database Results to my Applet in my Browser?

I have been trying to get my applet to display database values from MySQL server, something it does very well when i debug it in Netbeans, so I do not understand. I have set the java security levels ...
0
votes
0answers
46 views

SoftEther VPN Server returning error. “Error occurred. (Error code: 1) Connection to the server failed. Check network connection …”

This topic had already been discussed in SoftEther VPN Server can't connect during set up. But cannot find the solution here in my case. Tried commenting still not received a resolution. So ...
0
votes
0answers
17 views

Problems with PHP and / or quexf

first of all: I am a newbie. I wanted to set up a localserver with apache on Ubuntu 14.04, which worked quite well so far. --> I received the "It works" page. So I went on with installing stuff for ...
0
votes
0answers
20 views

Mutillidae cannot be available

I have install everything necessary file or program. I follow instructions by this pageApache2 seems to work fine and I can enter to localhost/html and it's okay Unfortunately when I type localhost/...
0
votes
0answers
15 views

Having trouble seeing local development site hosted on SSD

I created a drupal site (that works fine on other machines) and put it on my SSD on ubuntu. I believe the path to this disk is: /media/username/Nameofdisk/sitename. I re-created the database and it's ...
0
votes
0answers
31 views

Cups not working in client machine

I am just trying to make the cups page appear on a client machine. I have installed cups via apt-get install cups. I have installed the cups client via apt-get install cups cups-client. I have ...
0
votes
0answers
99 views

MiniDLNA and a localhost streaming

I would like to mount a very small dlna server in my home. At present I am using ps3mediaserver successfully but I would like to find something that covers all the functionality and it is lighter. I ...
0
votes
0answers
35 views

Audio files do not work on localhost

I am learning HTML5 and running my examples on LAMP server. audio and video elements does not work when I go to localhost/somefile.html. When I open that same html file by double clicking, it works. ...
0
votes
0answers
41 views

Site works from localhost not from lan/internet

So i'm an ubuntu novice so be patient with me :) Just installed ubuntu server 14.04. Installed all the shebang ssh, php, mysql, it all works. I setup a new ddns account to avoid having to call the ...
0
votes
0answers
28 views

can't login to localhost after Ubuntu install

I installed Ubuntu 14.04 yesterday on a Chromebook, I am sure I know what user name and password I gave it, but was unable to login to local host, so I reinstalled today, thinking it would give me the ...
0
votes
0answers
44 views

“you don't have permission to access /cgi-bin/fp on this server” error on ubuntu localhost

I'm trying to run a website on localhost. When I run localhost, I encounter the following error: How can I fix this problem? Thanks
0
votes
0answers
59 views

PHP Files are not opening inside the Admin Folder that i created in my localhost

I have created a folder called Admin in my Localhost and set all file permissions to 777. But when i try to open my .php files in Admin folder they just dont open. It's not even opening the Filing ...
0
votes
0answers
47 views

Cannot ssh into server from local browser or putty

sudo ssh -vvv localhost works fine. I have added this rule also. sudo ufw allow 22 But I can't access ssh from the localhost or putty. When I tried to ssh from a different PC, it worked. I also ...
0
votes
0answers
39 views

how can i know conflicts in the ports ?

i'm new to ubuntu , i'm on ubuntu 12.04 LTS here the ports Proto Recv-Q Send-Q Local Address Foreign Address State tcp 1 0 ubuntu.local:9416 mistletoe.canonica:http CLOSE_WAIT tcp 0 0 ubuntu.local:...
0
votes
0answers
833 views

GET http://127.0.0.1:9000/ net::ERR_CONNECTION_REFUSED

So I'm running a project with SBT on Ubuntu, but today I can't seem to access it as I did before. I didn't meddle with anything network related, and the lack of descriptive error messages have me ...
0
votes
0answers
349 views

localhost unable to connect

localhost unable to connect. i am do the following steps: Restart the apache service but got some error: root@kumar-desktop:/# sudo service apache2 restart apache2: Syntax error on line 210 of /...
0
votes
0answers
35 views

Error in localhost ubuntu

I am running the server inside /opt/lamp/lamp directory and not the /ect/init.d/apache2. All the virtual host configured inside of /opt/lamp/lamp are working fine but when I access localhost it throws ...
0
votes
0answers
83 views

The permission do not allow you to make modification

I've setup lamp in my Ubuntu 14.04 successfully and everything works fine. I can create new file inside of my var/www/html/ file and can copy and past files. But when I'm trying to edit any of ...
0
votes
0answers
108 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: