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

-1
votes
0answers
6 views

move websites to localhost without finde & replace of the mysql file

I backup a lot of wordpress pages on my localhost. Im seeking a way that my browser al requests from localhost websites redirect so that http://*.com/ get to http: //localhost/*.com/ what I ...
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
1answer
33 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
34 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 ...
1
vote
0answers
28 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
20 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
1answer
29 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
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
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
0answers
22 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 ...
1
vote
1answer
106 views

http://localhost not working but https://localhost working?

i need help xampp is working good but http://localhost not available but https: //localhost is working very good how i fix that !?
0
votes
1answer
80 views

'ssh localhost' gives 'Permission denied (publickey).'

I'll mention some of many things I tried and give a couple of diagnostics. I would appreciate any clues on how to debug this: me@myubuntu:~/.ssh$ ssh localhost Permission denied (publickey). ...
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
1answer
60 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
2answers
60 views

Which IP to use for localhost in Ubuntu virtual box- installing hadoop

I am trying to install hadoop single node on a Ubuntu 14 Virtual machine( on VMWare) on a windows 7 host. One of the steps says : Get IP address using: ifconfig You get xxx.xxx.xxx.xxx Edit ...
0
votes
0answers
323 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
1answer
306 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
2k views

localhost 500 internal server error [closed]

localhost 500 internal server error. root@kumar-desktop:/# sudo service apache2 restart * Restarting web server apache2 [ OK ] am searching lot of things ...
0
votes
0answers
188 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 ...
1
vote
1answer
258 views

How can I install Itop on ubuntu

Recently I tried to install ITop on my xubuntu but all of my tries was unsuccessful I used a lot of links like http://www.unixmen.com/setup-operational-portal-using-itop-centosdebian/ and the official ...
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
1answer
94 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
70 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
3answers
66 views

Not able to ssh localhost in ubuntu 14.04

Not able to ssh localhost in ubuntu 14.04. Tried with ip also : ashish@ashishk:~/chef-repo/.chef$ ssh ashish@localhost Permission denied (publickey). ashish@ashishk:~/chef-repo/.chef$ ssh ...
1
vote
1answer
2k views

How to get rid of “Connecting to 127.0.0.1:80… failed: Connection refused.”?

I started learning PHP a week ago and I installed Eclipse for PHP. I have tried some basic codes since but today, when I runned a code to create a txt file (using fopen, fwrite, fclose), Eclipse said: ...
0
votes
0answers
94 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:
1
vote
0answers
161 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 ...
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 ...
3
votes
1answer
162 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 ...
1
vote
1answer
233 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 ...
0
votes
1answer
108 views

Document root (APCHE2)

CAn any one tell me how can have multipe localhost directory on my computer. I already set my localhost as "/home/dee/php" in apache config file setting this Documentroot /home/dee/php Now How can ...
0
votes
1answer
444 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
0answers
98 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
1answer
505 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
1k 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
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
87 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
94 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 ...
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 ...
1
vote
1answer
43 views

How do I disable MoinMoin such that MediaWiki will start working again

I have installed MoinMoin (MM) on my 32 bit Ubuntu 15.04 installation, by following this guide. It worked well, but now I can't access my MediaWiki (MW) installation (version 1.24.1 if relevant) ...
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 ...
0
votes
0answers
18 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 ...
2
votes
0answers
793 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
1answer
635 views

Apache not allowing PHP to create file

I am trying to save data using HTML and PHP in localhost in Ubuntu. My HTML & PHP files are working great but when I am using commands to open a file in the localhost using $myfile = ...
0
votes
1answer
56 views

LAMP installation [duplicate]

I am trying to install LAMP server on my Ubuntu 14.10 but i am having a lot of problems: the first time i installed it i tried to run my website locally but i wasn't able to access the database ...