Questions tagged [localhost]

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.

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. Using the loopback interface bypasses local network interface hardware.

309 questions
202
votes
1 answer

What is the loopback device and how do I use it?

What are loopback and localhost? Why do they exist, what are they used for, and how would I use them?
Eliah Kagan
  • 119,640
74
votes
7 answers

How do I set up the simplest HTTP local server?

I use the R Studio IDE to do many things, one of which is to serve local websites utilizing the blogdown package which is a fork of hugo. I write the code in R Studio and preview the site utilizing the blogdown::serve_site() command. This is the…
Display name
  • 2,331
28
votes
2 answers

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 ssh? I have searched solutions, some one…
ulyssis2
  • 433
14
votes
3 answers

Let Xorg listen on TCP, but only to localhost?

I have some X client program which needs access to an X server. It is only able to access the X server by TCP, not by other methods like unix domain sockets. It will run on the same host as the server, to make things easy. So, how can I make my Xorg…
13
votes
1 answer

How to access localhost on Virtualbox host machine

I created a virtual machine on Virtualbox with Ubuntu 12.04 only to install a LAMP solution and use it with my host machine, but I can't access the localhost using the ip (10.0.2.15) in the browser . Is there any way to solve this problem ?
aliasbody
  • 1,021
13
votes
3 answers

Accepting SSH connections only from localhost

I just installed SSH and I would like to set it up to only accept connections from localhost. I plan to point a .onion address to it so that I may connect to it from anywhere on any network.
KI4JGT
  • 1,888
12
votes
5 answers

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 source code instead of executing. Ubuntu 14.04 LTS
Anuj TBE
  • 2,546
12
votes
2 answers

Port listening on localhost:8000 but not on ip:8000

Hello I'm running a web application on port 8000. When I access it from the host server localhost:8000 it responds ok, 127.0.0.1:8000 also works, but 192.168.1.7:8000 does not work. 192.168.1.7 is the ip of my server. Also if i try to go to another…
11
votes
1 answer

How to set up localhost to redirect a website

I am asking this question from an awkward situation. As you may know or not know, Google is blocked in China. A discouraging consequence (at least to me) is that visiting Stack Exchange sites, like Stack Overflow where I used to be very active while…
11
votes
1 answer

How to access Apache2 virtual host from VirtualBox (or any VM)

I am running Ubuntu 11.04, I have setup my localhost so I access my sites at site1.local site2.local By setting up virtual hosts and adding entries to my hosts file. I want to test them in IE so I have installed VirtualBox with Windows. My…
Hailwood
  • 5,017
11
votes
3 answers

Can't 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 get : root@kunal-Extensa-4620:/# ssh -vvv…
11
votes
2 answers

Cannot access local server with IP address while localhost and 127.0.0.1 can

I am trying to let other computers to access my local server but I tried myself locally that I cannot access it locally even myself. Several things you should know: My target Visit my server via http://172.26.141.106:5201/ What I can do now I can…
Hearen
  • 253
  • 1
  • 3
  • 11
10
votes
3 answers

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 problem in console only? Why localhost is refusing…
10
votes
3 answers

How to get telnet to localhost working?

I'm working on a local dev setup that requires the use of telnet (playing with setting up a MUD server) so please no feedback suggesting I use SSH as a more secure alternative. However, though I've got the telnet daemon up, I am getting this output…
jerome
  • 837
9
votes
4 answers

What would cause 'ping localhost' to fail?

the /etc/hosts file contains a line: 127.0.0.1 localhost so localhost should be a valid hostname, but any attempt to connect to a port on localhost fails, including ping. Connection attempts into this server from outside, using the same clients,…
user14149
1
2 3
20 21