Questions tagged [localhost]

Localhost is an address/term used for testing connection to the local host (current computer) used for some network troubleshooting

localhost (all lowercase) (meaning this computer in computer networking) and is the standard hostname given to the loopback network interface.

IPv4

Under IPv4 the standard localhost address is normally assigned to:

127.0.0.1

IPv6

In full notation, the address under IPv6 is:

0:0:0:0:0:0:0:1
537 questions
0
votes
5 answers

Let other computer view my localhost over a network

I have apache and what not running on my local machine (mac), there also another mac on the local network. How does this other machine access my localhost? For example I have a local website at example.local.net in my vhost. How can another…
Smickie
0
votes
2 answers

Problems pointing site to site in Hosts file

I'm on my localhost PC. I need to add an entry that maps our public site to our dev server. I tried several things with no luck: 192.168.1.40 oursite.com // where the IP here is our internal dev server or devserver oursite.com oursite.com…
WeDoTDD.com
  • 245
  • 2
  • 5
  • 14
0
votes
1 answer

Tomcat cannot connect to MySQL on localhost

I have deployed an application on my Tomcat server with JDBC resources defined. What is puzzling me is that I can connect to the database (which is running locally on the server) only using the server's IP. When I change the resource host to…
David
  • 145
  • 1
  • 1
  • 7
0
votes
1 answer

Sharing Localhost on Network in Windows 7

Basically - I am producing a website and I am trying to share the "localhost" port on 2 computers. Basically, when I build the project I just want to also be able to access it on both computers via the same port. Currently, I cant seem to be able to…
Tom
0
votes
1 answer

Is it possible to configure Apache for several local host?

I want to tests to sites locally. It is good for me to have two configuration sections in Apache. I tried ... ... But when I type in browser 127.0.0.2, it…
sergtk
  • 113
  • 8
0
votes
1 answer

Apache keeps resetting while testing on localhost

I'm getting errors while testing web pages on localhost. I'm running Windows 7 64-bit. I'm not using Wamp or Xampp. This is what the error.log tells me (I've highlighted the errors in question): [Sat Mar 06 05:10:55 2010] [notice] Apache/2.2.14…
Scott
  • 123
  • 3
0
votes
1 answer

Accessing localhost using ip

I am running google app engine locally and it runs on port 8080. I can access it from the browser using 'localhost:8080' or '127.0.0.1:8080'. But I cannot access it using the ip of the machine even locally. Any pointers? Update:Solved it by binding…
abhirama
0
votes
1 answer

Wamp server giving "It works!" on going to http://localhost

This is for a friend of mine. When he installed WAMP server, it installed perfectly. And then when he goes to http://localhost there is only 1 message that is displayed in the browser which is It Works! It does not display the WAMP homepage at all !…
user35107
0
votes
0 answers

My GCP compute instance isn't receiving any port traffic

const express = require('express') const app = express() const port = 9093 app.get('/', (req, res) => { res.send('Hello World!') }) app.listen(port, () => { console.log(Example app listening on port ${port}) }) this is node sample code Request…
0
votes
3 answers

Apache 2.4 can connect localhost but not IP

Im using Laragon to connect everything together: httpd.conf #Listen 12.34.56.78:80 # Listen 80 # Listen 80 # Listen 0.0.0.0:80 Listen 80 # #ServerName www.example.com:80 ServerName :80 # # Deny access to the entirety of your server's filesystem.…
0
votes
1 answer

How to create a local host that can be accessed through everyone on the same internet?

I've had an Apache Virtual Host working for a couple of month where workers on the office wifi could type in something like www.XYZ123.com and was able to access the website through their browser. Now, it suddenly stopped working and am unsure of…
0
votes
1 answer

How can I create a self-signed certificate that works with the browser?

I have been trying to create a self-signed certificate. The Firefox browser says the certificate is "not secure." I created the certificate following this SO explaination: Is it possible to generate RSA key without pass phrase? I entered the…
brohjoe
  • 101
  • 1
0
votes
1 answer

Why is *.localhost resolved automatically on Ubuntu but not on MacOS?

I have the same hosts file on both Ubuntu and MacOS. 127.0.0.1 localhost On Ubuntu: my-ubuntu$ ping foo.localhost PING foo.localhost(ip6-localhost (::1)) 56 data bytes 64 bytes from ip6-localhost (::1): icmp_seq=1 ttl=64 time=0.129 ms 64 bytes…
floatingpurr
  • 103
  • 5
0
votes
1 answer

How can i host a local website to domain using nginx?

I have a server that is running at 127.0.0.1:8323 This port is not reachable from outside. I want to provide this ip address as https://example.com/website/index.php over the port 80 How can i do this using nginx? I have tried using proxy_pass in a…
0
votes
1 answer

Open up localhost port to outside world

I have a http service running on localhost port 8080 on a centos 7 machine. Is there any way I can route / port forward incoming and outgoing traffic through my external interface. So, mapping 127.0.0.1:8080 to :8080? I'd…