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

0
votes
1answer
51 views

How to create localhost [closed]

I am trying to set up a temporary SMTP server to send an email. I am using python for this (smtplib.SMTP('localhost')) and getting a socket error. When I try wget localhost, I get a "failed: ...
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
1answer
765 views

How do I stop default localhost virtualhost from directing to named virtual host?

So a little background info first: using PhpStorm IDE (actually not important but just relaying info) using Vagrant running an Ubuntu 14.04 box (use of Vagrant also not important) have main ...
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
68 views

When accessing localhost I get a file browser rather than the “It works!”

I'm trying to deploy a set of html and php scripts which I've developed on another server, onto my laptop. I think I am pretty much at a default configuration setup, having never dealt with the ...
-3
votes
1answer
626 views

how to change location of localhost? [closed]

I installed apache2, mysql, php and phpmyadmin . The root location is in /var/www now but i wanted to change it to something like /home/user/sites or something. In the other threads , the solution was ...
0
votes
1answer
273 views

Question about /etc/hosts and my DHCP-assigned address

While reading about Linux I got: You can view your system’s hostname simply by typing hostname with no argument. anupam@JAZZ:~$ hostname JAZZ then I found this: The special hostname ...
0
votes
1answer
826 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
65 views

Localhost Configuration

how to run php program, i have install Apache,mysql,phpmyadmin.I don't know to configure files and directories to run php project on local host. Please give me solution step by step.
0
votes
2answers
4k views

problem when reinstall apache2 ubuntu 14.04

i had some problem when reinstall apache2 i use sudo apt-get install --reinstall apache2 apache2-bin and then error with this messages, /etc/init.d/apache2: 64: .: Can't open /etc/apache2/envvars ...
2
votes
1answer
633 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; ...
0
votes
1answer
619 views

localhost:4567 url gets redirected to port 80 [closed]

I am working with vagrant machines, and everything worked fine until I run this command: vagrant destroy -f && vagrant up I expect that if I go into the browser and I type ...
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 ...
-2
votes
2answers
241 views

no mail in `/var/mail`

i am trying to setup my system mail to monitor my mdadm raid arrays but I have no mail in /var/mail. How can I set this up and how can I test it? There should be something in may mail account I would ...
0
votes
1answer
108 views

Configure SSI for localhost

I'm trying to use SSIs to append a single copy of a jQuery mobile collapsible to multiple divs. They cannot be cloned, and jQuery get/prepend is not working, so I'm resorting to this. I have pointed ...
-1
votes
1answer
1k views

Sending data to port does not seem to be working on Ubuntu Linux?

I am trying to send data to port 2003 I am using tcpflow to listen however i cannot see any data being printed or sent ? Sending Data to port 127.0.0.1 2003 echo hello | nc localhost 2003 or ...
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. ...
0
votes
2answers
32 views

Where is the hostfile located?

working on setting up a local development environment. Im pretty new to Linux. I am using Virtualbox for Ubuntu server inside of the Ubuntu Desktop I am running. After setting up port forwarding I am ...
0
votes
1answer
989 views

I can't connect to localhost from other computers

I can see the web pages I created in /var/www/html/ by typing localhost in URL bar. A few months ago I could even access those pages by typing my ip address from other computers, but now I am getting ...
1
vote
1answer
928 views

Local mail in Thunderbird in /var/mail/username

I'm trying to configure Thunderbird to read local mail, as described in the answer in similar question: How read local email in thunderbird? However my mail is stored in /var/mail/username file. ...
0
votes
2answers
512 views

I got Apache working on localhost (“it works!”), but now how do I get it to work on the internet?

I can see my "website" locally but how do I get it to show up online? Does it need a domain name per se or can't I just get DNS somehow to pick up my IP address and put it online or something, I don't ...
0
votes
1answer
2k views

Virtual Host in XAMPP (help)

İ want to create the Virtual Host in XAMPP. Thus I googled for it. and I did the same changes in my config files like as Virtual Host in XAMPP. But when I went http://localhost2 it say's me: ...
0
votes
2answers
6k views

Install website on localhost [closed]

I want to install a phpBB forum on my local host, but for that I need get something like IIS or XAMPP, PHP and SQL on my Ubuntu. Can someone tell me how to do that? Can I also get a tutorial how to ...
0
votes
2answers
398 views

ERROR: when start hadoop

I am installed Hadoop, following Michael noll's tutorial. When I start name node using as following command, hduser@ARUL-PC:/usr/local/hadoop$ sbin/start-all.sh I got response as, This script is ...
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 ...
0
votes
1answer
239 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 *** ...
1
vote
2answers
2k views

create an alias for `localhost:8080/` as `www.my-domain.com/`

In ubuntu, I want to create an alias for localhost:8080/ as www.my-domain.com/. So that whenever I type www.my-domain.com/ in URL field, it shows up from localhost:8080/. What is the easiest way to ...
0
votes
1answer
413 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 ?
3
votes
1answer
3k views

access webpage through ssh

I need to access the IEEE xplore, but I don't have right to download out of institute. I can login into the server of institute via ssh, so How can I access IEEE xplore through institute server via ...
1
vote
1answer
11k views

how to load xampp graphical UI?

I just Install Xampp But maybe somewhere i Missed It Because I can't Load Any Xampp GUI. Also The Browsers Is Not Working Local host URL. Thank you
1
vote
2answers
3k views

localhost cant connect to 127.0.0.1

i have some java systems that i want to use hadoop in with it, but whenever i connect to localhost with this command hadoop fs -ls / it will always prompt that java.net.UnknownHostException: ...
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
3k views

Problem with apache 2.4.6 on ubuntu 13.10 no rewrite for wordpress links

My rewrite was working well until i updated my apache and than went dead . My 000-default.conf <VirtualHost *:80> # The ServerName directive sets the request scheme, hostname and port that ...
0
votes
2answers
122 views

Brief detail on hosts file

Can somebody explain what does this mean? Explanation to each line will be helpful. I have mentioned some of my queries in comments too. 127.0.0.1 localhost //According to @Dave, it's ...
2
votes
1answer
3k views

Nginx unable to connect

I am referring to this link to install Nginx on Ubuntu: Installing Nginx With PHP5 (And PHP-FPM) And MySQL Support (LEMP) On Ubuntu 13.04. sudo su — Runs OK. apt-get install mysql-server ...
0
votes
1answer
909 views

Firewall blocking mySQL port

I am trying to connect to mysql through node.js program but it throwing an error. I am not able to connect to mysql on port 3306. I already have apache installed on my PC. I have tried ...
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
1answer
506 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 ...
-1
votes
1answer
403 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 ...
0
votes
1answer
1k views

How to correctly write hosts file to redirect to ip with subdirectory

Hello i'm not really new to linux, but i stumbled upon a problem when I copied website on localhost/subdirectory. The homepage is runing normaly but the links redirect to root of the server i.e. ...
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 ...
1
vote
1answer
450 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
597 views

localhost index.php missing

When I updated php5, I see the It works! page appears when I go to http://localhost instead of getting the localhost's homepage. I see /var/www/index.php is missing. How should I correct it ? I ...
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 ...
2
votes
1answer
4k views

Deluge daemon connection?

My deluge-console is suddenly giving me this error Failed to connect to 127.0.0.1:58846 with reason: Connection refused why is this error.I have done nothing and the GUI deluge runs fine.Its the ...
3
votes
3answers
18k views

Cant SSH localhost

I can't SSH localhost. I have installed OpenSSH server as well on my Ubuntu 12.04 LTS (32 bit). connected to net (ip : 192.168.1.2) installed hadoop, running hadoop for local machine. Here's what I ...
1
vote
2answers
471 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?
1
vote
3answers
200 views

Chrome Ubuntu loading apache2's localhost instead of remote website

I'm a web developer and do local development through apache2 on localhost. However, sometimes when going to remote websites, well known websites like sky.com or bbc.com instead of loading that ...
4
votes
3answers
13k views

How to access localhost:8080 running on ubuntu from windows running into virtual box?

I have the ip address for ubuntu machine, and I want to access the application running on localhost in ubuntu from my virtual windows box. Is there a way to do it? Typing the [inet address]:8080 ...