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
-1 votes
1 answer
63 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
49 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 ...
FiniteLooper's user avatar
1 vote
1 answer
310 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
  • 65
1 vote
0 answers
101 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
  • 51
0 votes
0 answers
112 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
  • 171
0 votes
0 answers
26 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
152 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
400 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
488 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
0 answers
76 views

set a localhost port for winkex and other 2 issues

I just want to find a way to set a specific localhost for win-kex in WSL (Kali). I tried using VNCserver options, and -localhost options, but I wasn't able to set it successfully. The idea is set that ...
kapichy97's user avatar
0 votes
2 answers
164 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
0 votes
0 answers
94 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
49 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
268 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
284 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
  • 125
0 votes
1 answer
183 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
264 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
525 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,053
-2 votes
1 answer
120 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
5 votes
2 answers
5k 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
0 votes
0 answers
20 views

I cannot log in to my admin panel in a none private tab with the default user name/password after I install it in my SUBDOMAIN

I want to install an admin panel in my domain name. This admin panel is constituted from several php files. When I unzip these files in the folder "publc_html" in my host account, the ...
Choki's user avatar
  • 1
2 votes
1 answer
573 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.3k
0 votes
0 answers
582 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
2k 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
  • 219
0 votes
0 answers
1k 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
  • 241
0 votes
2 answers
3k 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
139 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
3k 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
377 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
190 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
3k 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
0 votes
0 answers
283 views

Localhost issue: .NET API endpoints giving 403 error but a doc page from the same project loads. Both are under localhost

I am not sure if this is the right place to post this, but doing so with this hope that it might relate to some kind of IIS settings! I have .NET website setup with SQL Server database. This is ...
Niladri Sarkar's user avatar
0 votes
0 answers
236 views

Can't connect to MySQL from PHP script running on the PHP builtin server (localhost)

I am trying to connect to the MySQL service provided by XAMPP (screenshot) through a PHP script that runs on the builtin PHP server (I started the server through php -S localhost:4242 in the folder ...
Darius V.'s user avatar
0 votes
1 answer
2k views

Can't access Windows Laptop localhost on Android Phone in same local net

Disclaimer: I know there are a few variants of this problem on this site but none of them helped me solved my problem -- Believe me I'd be more than happy if I didn't have to post another one. Follow-...
csstudent1418's user avatar
0 votes
0 answers
2k views

How to allow access to WAMP Virtual Host from over the internet?

I try to write everything with the settings with all. I have a localhost with wamp and windows 10, that I'm trying to access from other computers outside the network. Because i have some problems ...
Niklas's user avatar
  • 101
0 votes
1 answer
299 views

Using SSH Tunneling to play Sid Meier's Alpha Centauri (SMAC) Multiplayer Online

Summary / Background I am trying to set up online multiplayer for an old TBS from 1999. The multiplayer works with no changes if the host and other pc are on the same LAN, but I am trying to set up ...
telianer's user avatar
0 votes
0 answers
2k views

ssh: connect to host example port 22: Connection refused

I have given the following command in the terminal: ssh -L 8080:localhost:8888 bb@example However, the following error appears: ssh: connect to host example port 22: Connection refused I have also ...
B Noor's user avatar
  • 101
0 votes
1 answer
269 views

warning: no inet socket available: No such file or directory

so there i am using chroot to chrooting into debian bootstrap everything worked just right on root account until i added a new user to figure out that i cannot do update or access xdisplay or ...
amera's user avatar
  • 1
0 votes
1 answer
654 views

Log into local SSH shell over guacamole

So I want to use guacamole to access the 127.0.0.1 ssh shell. I have disabled plain text password auth and root login. Using a private for my normal ssh sessions. Is there a way to allow localhost ...
user avatar
1 vote
0 answers
34 views

Does firefox make requests to the history urls on its own?

Strange thing happened: my localhost webserver showed that a browser I was using called some endpoint on it. I'm not sure if it was malware or some strange Firefox behaviour. The endpoint I'm talking ...
majkelpl's user avatar
2 votes
1 answer
383 views

How to get the flatpak versioni of Firefox to treat localhost as an address without a protocol prefix?

When I enter localhost:8888 in the address bar, the flatpak version of Firefox opens a dialog to choose an application to open the link. If I use http://localhost:8888 the page opens normally. I don't ...
ws_e_c421's user avatar
  • 229
0 votes
2 answers
181 views

Would a service bound to 127.0.0.1 respond to packets with destination 127.0.0.1?

Suppose I have a server running on my computer listening at 127.0.0.1 If an attacker were to: Reconfigure my computer so that it does not consider loopback addresses as martian (Sending packets meant ...
kexu's user avatar
  • 101
0 votes
1 answer
52 views

Wanting to migrate a wordpress project from localhost to a local domain name server/virtual host

I have a WordPress project that currently resides in WAMP on the standard localhost server. I also have node.js installed to automate my workflow. I would like to create a local domain server/virtual ...
Krys's user avatar
  • 101
1 vote
0 answers
342 views

Can't access localhost via IPv4 - but IPv6 works

I can't access 127.0.0.1 or my own IPv4 address (192.168.178.xx) in any browser, while the IPv6 address [::1] works. More information: My OS is Windows 10 Pro 20H2 19042.985. Pinging 127.0.0.1 and my ...
dyedwiper's user avatar
2 votes
1 answer
367 views

How does linux resolve wildcard locahost subdomains (e.g. : `ping test.localhost`) when `test.localhost` does not exist in /etc/hosts or dns server?

For example in ubuntu 20.04 LTS where the /etc/hosts file is empty: >>> cat /etc/hosts 127.0.0.1 localhost ping still works for any subdomain of localhost: >>> ping test....
Greg's user avatar
  • 443
2 votes
0 answers
1k views

Why is port not open? ufw disabled, service running

I have a mysql service running on ubuntu server on port 33070. I can connect to it locally, but not from outside(another machine). Here is what I've tried. ufw is off root@localhost:/# ufw status ...
Karen Avdalyan's user avatar
0 votes
1 answer
1k views

How Do I Redirect HTTP(S) Requests From a Specific Domain to a Localhost Server?

I currently have a program that requests data from a server (let's say google.com), and gets replies from that same server. This application works on many devices like Android, iOS and Windows. ...
Joe's user avatar
  • 235
1 vote
2 answers
1k views

Why does the hosts file in Windows 10 not block websites while using a free vpn?

I have already read this thread I couldnt comment there to ask for the expired links, and almost all steps in the solution here. The host file works fine without a VPN, but unfortunately am not able ...
Alireza Farhadi K.'s user avatar
2 votes
0 answers
2k views

WSL on Windows 10 - localhost works, 127.0.0.1 doesn't (and is not my local IP)

I'm in the middle of setting up WSL on Windows to work on PHP stuff with my PHPStorm. Started the config, and installed Apache and PHP. To check, I'm opening my browser on localhost, it works, but on ...
Jeremy Belolo's user avatar
2 votes
1 answer
740 views

Firefox disable extension on local files

Is it possible to disable selected firefox extensions from acting upon local files starting with file:// as this might be security issue? Any suggestions? Google Chrome has this feature, unfortunately ...
Porcupine's user avatar
  • 383

1
2 3 4 5
14