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
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 ...
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 ...
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
810 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
567 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
29 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
30 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
27 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
37 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
26 views

Can my local host get attacked if i dont port fort forward?

Can my local host get attacked if i dont port fort forward? Im am currently running a server which for a certain app im having problems with passwords and decided that is easier if i leave them ...
0
votes
1answer
58 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
292 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
92 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
69 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
439 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 ...
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
778 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 ...
1
vote
0answers
157 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
82 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
73 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
147 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
9 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
22 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
24 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 ...
0
votes
0answers
19 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
24 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
21 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
40 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
28 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 ...
0
votes
0answers
310 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
182 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
30 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
50 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
93 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
59 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
74 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
96 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
19 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
86 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
93 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
17 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
81 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
93 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
255 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
349 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
171 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
31 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
60 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?