Questions tagged [localhost]

`localhost` usually refers to the special addresses `127.0.0.1` and `::1` that map to a loopback device, which allows a computer to connect to itself.

Filter by
Sorted by
Tagged with
0 votes
1 answer
25 views

ufw temporarily reject port on localhost for local testing

I don't understand why those two commands don't block Port 8391 locally. sudo ufw reject from 127.0.0.1 to 127.0.0.1 port 8391 telnet 127.0.0.1 8391 Trying 127.0.0.1... Connected to 127.0.0.1. Escape ...
Wör Du Schnaffzig's user avatar
0 votes
0 answers
216 views

Accessing WSL2 web services from other machines on the LAN

I am having what seems like a familiar issue when trying to access web services running under WSL2 on my Windows 11 PC. Going back to basics then rather than the more complex scenario that I am ...
ceramic's user avatar
0 votes
0 answers
57 views

MySQL is not connecting with server

I am currently using MySQL 8.0.36 on Windows 10. Today, when I started my computer to work on SQL, I encountered an issue where it displayed 'No connection established.' Subsequently, I attempted to ...
NAMIT DUBEY's user avatar
1 vote
0 answers
59 views

Block connections to localhost by non-localhost webpages on Firefox

I am migrating to Firefox from Safari and noticed that websites (ANY website) that I visit has permission to attempt to make connections to localhost ports. I'm concerned with the privacy implications ...
OIRNOIR's user avatar
  • 11
0 votes
0 answers
46 views

ASUS DSL-N16 Router Localhost Connection Issue

I started using ASUS DSL-N16 model router recently. When I send consecutive requests to the stand-alone PHP web server that I run on "127.0.0.1:88" I receive a "server time out" ...
Rawkon's user avatar
  • 1
0 votes
2 answers
167 views

Can I block a whole subdomain with one single localhost line?

I need help with my localhost file, I'm kind of confused & not used to this! I'd like to block a website, let's say google as a first example. google has multiple top level domains (.com, .fr, .co....
I'm Dumb And Curious's user avatar
0 votes
0 answers
101 views

jupyter notebook - ERR_CONNECTION_REFUSED?

I've been, stuck with this, issue, from many hours, recently instlled jupyter, and its not laucing correctly, it doesnt open chrome - default browser automatically either.. To access the server, open ...
hasoma's user avatar
  • 21
0 votes
0 answers
233 views

Unable to SSH into localhost on MacOS Big Sur (11.7.3) --> kex_exchange_identification: Connection closed by remote host

I am new to learning about SSH configuration on a Mac. Remote login has been enabled via System Preferences -> Sharing -> Remote Login: On Allow full disk access for remote users: Yes Allow ...
slsu's user avatar
  • 1
0 votes
0 answers
392 views

ERR_CONNECTION_REFUSED in Chrome for specific domain (and 127.0.0.1) but localhost works, other browsers work for all of it

I am doing local development and literally in mid use of my site, Chrome stopped responding to my domain (let's call it local.mydomain.com) and will only give ERR_CONNECTION_REFUSED. It works fine in ...
WillyC's user avatar
  • 101
0 votes
1 answer
176 views

opening local website from another computer in the same network

I have a vm machine V(1.2.3.4) in a host A(5.6.7.8), and a host B(5.6.7.9) in the same network as A wants to open the website in V. That is to open http://configured_address/ from B browser. I guess ...
Hello Everyone's user avatar
0 votes
1 answer
132 views

What causes Error on browser "Aw Snap, status_access_violaiton"

i have a web server (svelte/next.js) running locally, but when i tried to access from any browser (edge,chrome,brave), it ran into a crash (see picture attached) 3-5 seconds after displayed and then ...
azræl's user avatar
  • 1
-1 votes
3 answers
1k views

Hostfile is not blocking this website why?

I am trying to block this website https://example.com/en/b9ah using the hosts file. I went to file explorer, This PC, Selected Windows, System32, drivers, Etc, Host File, copied host file and pasted ...
user avatar
2 votes
1 answer
494 views

/etc/hosts blocks instead of redirecting

I'm trying to redirect Facebook to localhost on Mac OS Ventura. This is my /etc/hosts hello procrastinator...% ...
mircealungu's user avatar
0 votes
1 answer
457 views

How to test localhost:PORT website by amending the hosts file?

Windows 11 + all updates. Visual Studio 2022 + all updates I have a website which can run on https://localhost:44313/ in my CMS i have configured it to use a test domain. I have set a test domain set ...
Computer's user avatar
  • 125
1 vote
0 answers
419 views

How can I share my local mysql server/database to the cloud using cloudflare, so that, I can use that connection to connect to other applications?

I have created a tunnel in Cloudflare and connected it to my local pc. I can access my localhost via port 3508. Now, I want to make this database accessible over the internet as my accounting desktop ...
user7870766's user avatar
0 votes
0 answers
147 views

Can able to login to a local website from another machine

i installed a local website called FileCloud on my ubuntu_22.04. The website can be accessible with http://127.0.0.1 , http://localhost and http://10.0.2.2 which could be my machine's ip. From http://...
SivaLucifer3's user avatar
-4 votes
1 answer
105 views

How to run website locally? [closed]

Windows 10 OS basically I want to run a php website offline, in my PC-locally, so that i can use it without internet. Is it possible, to run locally as an offline-app please tell me basic steps to ...
new's user avatar
  • 5
0 votes
0 answers
514 views

localhost still work after remove it from hosts file

I use WSL(ubuntu 22.0.4) and connecting WSL using VS Code for development. I created a web server like this: import express from 'express'; const app = express(); app.get('/', (req, res) => { ...
Lin Du's user avatar
  • 101
0 votes
0 answers
608 views

How to setup a access point on my raspberry pi zero w? (Re-Ask)

this is a duplicate of my first question. Since I found out more info about the topic, but not the answer yet, I will update the question. Here is the new info I found out: My TP-Link WN722N eu is ...
CacheZero1's user avatar
0 votes
0 answers
134 views

How Can I Enable Remote Access To Localhost Subfolders?

I am trying to set up a website on my localhost using WAMPServer and Pktriot. I have built the website in the localhost subfolder C:\wamp64\www\mywebsite on a virtual server and have set up a tunnel ...
Samuel Josling's user avatar
1 vote
1 answer
2k views

How to make local application accessible for other pc in my local network

I would like to host an application from a local Windows pc, for my local network I have an ASP.NET Core application (running in debug mode) on Windows pc A (192.168.1.10) on port 5001 There is ...
THEoneANDonly's user avatar
-1 votes
1 answer
506 views

Can I access a remote VPS's 127.0.0.1 via proxy?

127.0.0.1 points to local machine, is it possible to access a remote VPS's 127.0.0.1 instead of my own device?
Flan1335's user avatar
0 votes
1 answer
124 views

iCloud password Chrome extension sets focus on first input during localhost dev

I recently installed the iCloud password sync extension for Chrome on Windows. I do web development and when I run my localhost environment it auto-focuses the first input it finds. This messes me ...
Chris Barr's user avatar
2 votes
2 answers
9k views

127.0.0.1 refused to connect on all ports (windows 11)

I first thought this problem was related to my new install of the Plex media server (installed on Windows 11 laptop), but the problem seems bigger than that. The issue is that neither localhost nor ...
clg's user avatar
  • 95
1 vote
0 answers
392 views

DNS incorrectly responds with 127.0.0.1 for dnslog.cn

I have a every odd DNS issue. dnslog.cn seems to point to 127.0.0.1 no matter which public dns I use. Anything hosted at localhost seems to accessible at http://dnslog.cn. The behavior is same on ...
Anutrix's user avatar
  • 151
1 vote
0 answers
571 views

Firefox "connection was reset" when accessing localhost, but [::1] works

I'm on Windows 10. I'm running a local web server that's listening on [::1]:5173. When attempting to connect using Firefox to http://localhost:5173, I get a connection reset error. Connecting to [::1]:...
logix's user avatar
  • 181
0 votes
0 answers
125 views

Proxy cannot resolve name "localhost"

When I am connected to the proxy at work, and I call localhost as the protocol or .local as the top-level domain, I get the error from the proxy that the DNS could not resolve the name "localhost&...
Steve Scott's user avatar
2 votes
2 answers
1k views

localhost took too long to respond - ERR_CONNECTION_TIMED_OUT

In Windows 10, my application that runs on localhost stopped working after connecting and then disconnecting from the VPN (Citrix). Restart the app - doesn't help. Tried this without success: ...
Roman Marusyk's user avatar
0 votes
1 answer
749 views

When mapping a domain with `hosts` file, Node requires the WSL IP, but Vite requires 127.0.0.1

I'm on Windows 10 developing in WSL2/Ubuntu-20.04. I create a basic Node+Express server: npm init -y; npm i express // index.js const express = require('express') const app = express() const port = ...
DharmaTurtle's user avatar
0 votes
0 answers
834 views

Localhost xampp becomes very slow when windows pc is connected to a specific wlan

I'm running windows 10 and xampp with php8 and mysql 8 a well (the latest xampp package) and a php application. When disconnected from a specific tplink btand new mr6400 wlan router the app runs ...
user1763064's user avatar
0 votes
2 answers
411 views

How is it possible that one computer access another computer's localhost(127.0.0.1)?

I know what does localhost, 127.0.0.1, means. It means loopback address, which can make a computer use as remote system. Of course, I know it is not possible that localhost cannot be accessed from ...
TyeolRik's user avatar
  • 103
1 vote
0 answers
438 views

Ping spikes when pinging router

Is it normal to get some spikes while pinging the router? Normally I get some spikes of max 15ms and I am using a wired connection, this doesn't seems to be right. My interface is a gigabit, my cable ...
Lucas Dias's user avatar
0 votes
1 answer
377 views

access a website through a linux server

Is there a way to forward the router dashboard to a local debian server? the dashboard is on 192.168.1.1 and I would like to access via serverip:port, the server, which ports are open, is on the same ...
ssebastianoo's user avatar
0 votes
1 answer
1k views

Streaming local file through http with VLC

original question for reference using vlc -I qt a.mp4 '#http{mux=ffmpeg{mux=mp4},dst=:8080/stream}' --sout-all --sout-keep the video is playing locally fine with both audio and video but I got some ...
Antonin GAVREL's user avatar
1 vote
0 answers
1k views

How to whitelist websites (not blacklist) in hosts files?

I'm trying to make it easy to avoid random distracting websites. I'd like to have my host file set up to only allow a few websites. Everything else should be blocked. I can't get this to work. This is ...
Sylvia's user avatar
  • 137
0 votes
1 answer
539 views

Intercepting all outgoing HTTPS requests from machine and redirecting it

I want to intercept all HTTP requests in that the user is sending and redirect them to my own localhost:5000, where changes will be made to the request, it will send it to the intended server ...
user1744988's user avatar
1 vote
1 answer
825 views

WP Localhost Installation prompting for FTP access when deleting plugin etc

I know this question is asked quite some times already, but none of the suggested approaches works. My problem: I have a wordpress installation on my localhost, but as soon as I try to delete plugins, ...
DevelJoe's user avatar
  • 111
0 votes
2 answers
2k views

What is the difference between 127.0.0.1 and non-localhost addresses?

I have this gap in my understanding of networking that I've always had a hard time crossing. Over the years I've written various little TCP/UDP sender/receiver projects -- mostly simple hello-world-...
StoneThrow's user avatar
  • 1,177
-2 votes
1 answer
409 views

Links in localhost

I transferred the entire site to Xampp and all the pages are showing the way i designed them.. However, when accessing on localhost from another computer, none of the links work so I can view other ...
GrabQuik Inc  SLYDE Deliveries's user avatar
10 votes
2 answers
18k views

Cannot communicate with Windows localhost from WSL2

I have an application running on Windows on localhost (127.0.0.1) port 8545. My goal is to be able to communicate with this application from within WSL2. However, whenever I try to access the address ...
Petahanks's user avatar
  • 101
5 votes
1 answer
5k views

What is the difference between IPv6 addresses :: and ::1?

Maybe this is a silly question but sometimes I see IPv6 :: to mean the local host, and sometimes I see ::1. Occasionally, using one vs. the other seems to be the difference between something working ...
Jason C's user avatar
  • 10.8k
0 votes
0 answers
899 views

Exposing Ubuntu localhost to the public and connecting a personal domain to it

I've recently acquired an Ubuntu VPS from vultr and I was planning on hosting a small database on it. I am of course able to access it from localhost:port but when it comes to using the actual server'...
Nitlix's user avatar
  • 1
0 votes
1 answer
3k views

How can I find out which folder http://localhost:3000 points to?

When I open a windows 10 command prompt or powershell and navigate to a folder with a ReactJS app, then run npm start this opens up http://localhost:3000 in my default browser. What should happen is ...
Marc's user avatar
  • 229
0 votes
0 answers
2k views

Can access `localhost` and `127.0.0.1` but not actual device IP address

I'm running a MacBook Pro connected to a TP-Link Archer C-7 router. I can access my server running locally with both localhost and 127.0.0.1. However, if I use the IP address of my device itself (as ...
skube's user avatar
  • 249
0 votes
2 answers
9k views

How to resolve local domains to localhost on macOS

I know there are other similar questions but I am not satisfied with the answers. I would like to be able to define a local domain such as .localhost, or .local or whatever and make all the subdomains ...
grandouassou's user avatar
1 vote
0 answers
159 views

Access WSL2 localhost services from another local account

I've created WSL2 services that I can access through localhost in the web browser on the Windows account that runs WSL2. However, I would like to access the services on a kiosk user on windows 11. I'...
s.1.618's user avatar
  • 11
0 votes
2 answers
8k views

Why some proxies use localhost IP 127.0.0.1 instead of connecting directly to the remote server?

I use a proxy named Freegate and it uses 127.0.0.1 by using netstat only connections that I see are like this TCP 127.0.0.1:8580 127.0.0.1:59118 ESTABLISHED TCP 127.0.0.1:8580 127.0.0.1:59120 ...
Sareh's user avatar
  • 1
0 votes
0 answers
581 views

Serving static file from Nginx on localhost cannot exceed 10MB/s

I was experimenting with static file serving. So picked up the simplest possible setup. In /etc/hosts I added (127.0.0.1 mysite.test) I created a vhost in nginx and placed a single file in the folder (...
ptheofan's user avatar
  • 115
0 votes
1 answer
534 views

connect to a device, from behind router, that connected to modem

Network Diagram Picture: Is it possible to connect from "Android Device" to "Desktop PC", or from "Laptop" to "Desktop PC" on the local network without ...
samad's user avatar
  • 1
0 votes
1 answer
5k views

MobaXterm - Why is my LOG filename shows "localhost" instead of my hostname when establishing an SSH session?

I'm quite new with MobaXterm. For each SSH session that I open to a given host, I want to log the terminal output to an individual file whose filename includes the given hostname + timestamp. I have ...
Jean-Marc's user avatar

1
2 3 4 5
14