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

6
votes
3answers
572 views

Where to place my local website starting with the 2.4.7 version of apache2 server?

I recently installed Ubuntu 14.04, then I installed lamp-server and placed my webpages in /var/www directory, but when I opened localhost in the browser there was nothing. I think that happened ...
0
votes
3answers
71 views

I can't connect localhost through ssh

I can't connect local machine in my 13.04, $ ssh localhost ssh: connect to host localhost port 22: Connection refused
0
votes
0answers
57 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
0answers
32 views

Figure out either my root problem or my localhost problem

I have upgraded my Ubuntu from 13.04 to 13.10. Before this, when I signed in as a root, I can run my PHP script as the localhost and I can edit it without any problem. But since I've upgraded my ...
1
vote
0answers
29 views

I cant ping my domain from outside

I can't ping my domain from outside my vps. I tried in cmd.exe -> ping domain.com but I didnt get any answer. But when I try via putty console I can do it: ; <<>> DiG 9.8.1-P1 ...
0
votes
0answers
22 views

How to map a local Ubuntu Server in Windows 8.1?

I am currently running Ubuntu Server using Oracle's VirtualBox. I would like to map a network drive to my local Ubuntu Server in Windows 8.1. I can connect to my server using PuTTy just fine. I can ...
0
votes
1answer
51 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
0answers
36 views

Connect to locahost port failed

I'm trying to start Reddit clone local server using reddit install script on Ubuntu virtual machine. During the process I have this: $ nc -vz localhost 5672 $ nc: connect to localhost port 5672 (tcp) ...
0
votes
2answers
90 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
0answers
22 views

How to forward proxy ports on ubuntu

Pleas help me friends, i want to forward a local-host port from command line.i want to forward 127.0.0.1:8085 to 127.0.0.1:9666. i searched it everywhere but,i haven't proper answer yet.
2
votes
2answers
47 views

Issue when sudo something after a hostname change

I was tired of my system's name so i decided to change it. I gksudo gedit /etc/hostname and changed my first and never touched computer name to a new one. Then now when i sudo something like sudo ...
0
votes
0answers
27 views

Dealing with alias hostname Ubuntu and Apache server

I have installed and have up and running Apache server on ubuntu 12.04 server. I also changed my /etc/hosts file and added an alias for my server. I'm hosting a site locally, I want to be able to use ...
0
votes
1answer
42 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
56 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 ...
0
votes
1answer
293 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
2
votes
1answer
12k views

ssh: connect to host localhost port 22: Connection refused

Although This has been discussed, but still i am not able to solve this. Here is a quick review of what i did and how i got into the trouble: 1 Installed Ubuntu 12.1 2 installed ssh sudo ...
1
vote
1answer
201 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
503 views

How can I make my localhost server be available online? (Apache,PHP)

How can I make my localhost server be available online? (Apache,PHP) When I try to enter my IP address into the URL bar I get no result.
0
votes
0answers
63 views

Not able to ssh to localhost

while setting up Hadoop in my Ubuntu 12.10 I am not able to ssh to localhost. hduser@tanmoy:~$ ssh -vvv localhost OpenSSH_6.0p1 Debian-3ubuntu1, OpenSSL 1.0.1c 10 May 2012 debug1: Reading ...
0
votes
0answers
24 views

does ubuntu not support wireless over a local domain?

Im running a ´high end Compaq with 13.10 I went offshore and the wifi connected and after 30 min disconnected and I have not been able to re connect. I have run my sudo network commands and my ...
0
votes
1answer
167 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
1k 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
89 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
715 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
389 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
55 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
267 views

netbeans and php project - run project in local

I've created a little php project in netbeans 7.4. I have ubuntu 13.04 x64 and have mysql, apache, php installed on my machine, I have also checked wether apache works and when I run localhost on ...
0
votes
1answer
252 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
176 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
0answers
1k views

Forbidden - You don't have permission to access /bootstrap/ on this server

Hello i have a apache2 server installed in mi PC i can access the site localhost/RLAH but can't enter in other like /localhost/bootstrap my /etc/apache2/sites-enabled/000-default file is this ...
0
votes
1answer
166 views

limit port access to localhost

I've written a few WebSocket servers to run locally for custom personal apps. I have no authentication since they're meant to run locally, but I need to be sure that no other system on the network ...
-1
votes
1answer
612 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. ...
2
votes
0answers
1k 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
136 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 ...
2
votes
2answers
2k views

Localhost 403-Forbidden Error

I have seen many threads about 403 - Forbidden problem, but my problem was not solved. I'm trying to open .php pages, but 403 - Forbidden appears. I've tied : sudo chown -R hamed /var/www/ sudo ...
0
votes
0answers
271 views

How can I access my local web server and its files?

I am using Ubuntu 13.04 and I installed LAMP in localhost (127.0.0.1). Everything works fine. But I don't know how to access the localhost server next time. I mean I will setup new package or firewall ...
0
votes
1answer
311 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
0answers
61 views

Locally hosted website inaccessible from remote machine

I have Ubuntu Server 12.04 set up on a laptop with a LAMP stack. I've loaded the appropriate directories with my webpage files and I've edited my DNS manager on GoDaddy so that my A record points to ...
0
votes
1answer
60 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 ...
1
vote
1answer
1k 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 ...
-1
votes
1answer
214 views

local host scripting problem

I have this html page on my pc <html> <body> <form action="http://localhost/welcome.php" method="post"> Name: <input type="text" name="fname"> Age: <input type="text" ...
2
votes
3answers
5k 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
232 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?
0
votes
0answers
125 views

Connction to localhost:7373 refused using ATTO ConfigTool v4.1

I am battling a connection refused to localhost for a few days. I installed ATTO ConfigTool (used with their RAID controllers) v4.1 on the latest Ubunto. I ran all the updates. The ATTO Config Tool ...
0
votes
0answers
97 views

XAMPP doesn't work

I reinstalled XAMPP on my laptop from the terminal then i went to localhost on my browser and it asks my to choose the language to go when i choose English it doesn't respond at all it just refresh ...
0
votes
0answers
219 views

Installed Ubuntu Updates - Cannot access localhost

I have sites on a localhost in Ubuntu. After doing updates today, localhost now says: Oops! Google Chrome could not connect to 10.21.533.203 Help! Can I undo updates? Or is there a file to reconnect ...
1
vote
3answers
135 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 ...
1
vote
3answers
4k 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 ...
2
votes
2answers
418 views

How to inspect localhost from my smartphone?

Ideally I'd like to expose a port, like 8080 or something, to the web, so that I can run a website on my desktop and inspect it on my smart phone or show it to a client and so on. How do I expose one ...
2
votes
0answers
132 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 ...