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
549 questions
0
votes
1 answer

Lost Local Connection to MySQL DB that resides in AWS RDS

The MySQL DB residing in AWS RDS was made to connect with resources in the same VPC. I always had to make it publicly accessible in order to connect to it through MySQL Workbench 8.0 CE in Windows 11. The moment that I used mysql(2) NPM package to…
0
votes
0 answers

TCP connect <--> accept with INADDR_LOOPBACK range

I have some production code for a distributed system. Part of this code works by looking up (already established tcp) connections in a hash table, indexed by remote ip address. This code works correctly in a real cluster, with each server running on…
aspen100
  • 121
  • 1
  • 5
0
votes
0 answers

Windows 11, localhost / 127.0.0.1 port number changes on invocation

I'm testing a fastapi http server on Windows 11 running on 127.0.0.1:8000. In another terminal, a request is sent to the server on 127.0.0.1:8000. The result is a Bad Request and the server says it happened on 127.0.0.1:50340. The port number…
0
votes
0 answers

3% of Sendmail Localhost Relays are Deferred

Using Debian 10.3 and Sendmail Version 8.15.2, mail being sent with relay=[127.0.0.1] results in stat=Deferred: Name server: [127.0.0.1]: host name lookup failure. This occurs only 3% of all localhost relays. What would cause this? Example mail.log…
Dorothy
  • 179
  • 7
0
votes
0 answers

cURL error 7: Failed to connect to localhost port 443: Connection refused

OS version: Ubuntu 20.04 x86_64 Plesk version: Plesk Obsidian 18.0.47.5 Hi, I am running XenForo Forum on my Plesk which running behind Cloudflare. I get following erro log, which is showing me that the curl connection to localhost on port 443 is…
Adem Aga
  • 1
  • 1
  • 1
0
votes
0 answers

How to access pods from local terminal?

I have a Kind cluster installed on my Ubuntu machine. I have deployed few pods on the cluster and can see they're running using kubectl get pods command. As my pods are some NodeJS services and a react web application, they're all serving on…
best_of_man
  • 367
  • 1
  • 3
  • 12
0
votes
1 answer

Can I tunnel all ports from remote server to 127.0.0.2 (for example), so work with it like with localhost

I have a remote server. I started on remote server app that listen localhost only. I want to tunnel this server to local ip like 127.0.0.2 and access this app through like I on remote server. I need to tunnel all ports. Only one port is not what I…
0
votes
0 answers

Localhost not working with vue.js

Im new using vue.js, so I just installed vue.cli and I tried localhost:8080 and it worked perfectly showing the vue welcome page. Then, 2 minutes later, localhost is not showing the page anymore (ERR_CONNECTION_REFUSED). I uninstalled vue and…
NdeNoob
  • 1
  • 2
0
votes
1 answer

Can't make v2ray to send DNS queries to its localhost

There are two v2ray servers A and B with similar configurations but A works as an intermediary (vmess+websocket on both inbound and outboud) to reach B. I want to make A to send incoming DNS queries to its localhost:53 where CoreDNS is listening on.…
Masood Lapeh
  • 48
  • 1
  • 5
0
votes
0 answers

unable to load files in /var/www on localhost

I don't know why, but until recently, I could load files located in /var/www/ by typing the folder name in my browser, and I could load files located in /var/www/html by using localhost/<> Now, the files in /var/www/html still load, but the ones in…
dsb27
  • 1
  • 1
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
  • 2
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
  • 1
  • 5