2022 Developer Survey is open! Take survey.

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
2 answers
22 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 ...
user avatar
0 votes
0 answers
5 views

How can I establish a Client-Server interaction between containers and their local host machine?

I am writing a simple Unity3d desktop application that has a client-server side model. I'd like to dockerize client side within a container (there's a reason for this btw). But issue is, how would I ...
user avatar
1 vote
0 answers
15 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'...
user avatar
  • 11
0 votes
0 answers
14 views

does firefox support a httpS blacklist?

i'm a webdev, in run test servers on localhost, sometimes randomly firefox will try to connect to httpS://127.0.0.1 instead of http://127.0.0.1 or httpS://localhost instead of http://localhost: it ...
user avatar
0 votes
0 answers
53 views

setting up localhost to work w https

I am trying to make localhost to "play" w https...I have find various bits of info on the web-I cannot understand though what will bring the desire result..let me explain: The purpose of ...
user avatar
0 votes
2 answers
105 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 ...
user avatar
  • 1
0 votes
0 answers
67 views

MacOs - Custom project in Sites folder on localhost throws 403

I was setting my local env for the custom project in Sites/ folder following this set up. Currently on Monterey 12.3. When accessing localhost in my browser I get: 403 Forbidden I have run trough ...
user avatar
0 votes
0 answers
25 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 (...
user avatar
  • 105
0 votes
1 answer
42 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 ...
user avatar
  • 1
0 votes
1 answer
452 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 ...
user avatar
0 votes
0 answers
36 views

How to fix an error when typing ssh localhost in terminal?

When I type ssh localhost command in terminal I face this error. kex_exchange_identification: read: Connection reset by peer Connection reset by ::1 port 22 Does anybody know how to resolve it? Thank ...
user avatar
  • 1
0 votes
0 answers
36 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 ...
user avatar
0 votes
0 answers
30 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 ...
user avatar
0 votes
1 answer
237 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-...
user avatar
0 votes
0 answers
316 views

Unable to connect to MQTT broker using local IP address

I have a Mosquitto broker running on my Windows machine. I can connect to this on the same machine using an MQTT client such as MQTTX when I specify localhost as the address. However, I want other ...
user avatar
0 votes
0 answers
360 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 ...
user avatar
  • 101
0 votes
0 answers
14 views

Error, Host Unreachable | No Valid Response was Received from IPCS

I am trying to use Galilio Desktop, which has SSL Utility and SSL configuration which is supposed to set with localhost. But somehow it's not able to connect to 127.0.0.1 not letting the Galileo ...
user avatar
0 votes
1 answer
79 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 ...
user avatar
0 votes
0 answers
55 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 ...
user avatar
  • 101
0 votes
0 answers
46 views

Unable to localhost via browser, ERR_ADDRESS_UNREACHABLE returned

I want to open a webpage provided by Hexo on a Raspberry Pi 4B (Manjaro ARM installed). I set up the Hexo server and tried to open a URL such as http://192.168.0.x:6005 via a browser with my laptop ...
user avatar
0 votes
1 answer
104 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 ...
user avatar
  • 1
0 votes
1 answer
150 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
33 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 ...
user avatar
2 votes
1 answer
210 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 ...
user avatar
  • 199
0 votes
2 answers
63 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 ...
user avatar
  • 1
0 votes
1 answer
21 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 ...
user avatar
  • 101
0 votes
0 answers
58 views

Is localhost the same as a local domain server environment?

I am following a wordpress tutorial, where we need to create an if/else statement below. if (strstr($_SERVER['SERVER_NAME'], 'workshop_01.local')) do this: wp_enqueue_script('workshop_01-js', 'http:/...
user avatar
  • 101
1 vote
0 answers
83 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 ...
user avatar
0 votes
0 answers
69 views

Smtp4dev does not catch the port communication

I am using Smtp4dev server for localhost to catch port communication. The server is running, and I can see the page on localhost:5000 where it confirms it's listening on port 587. I also have Laravel ...
user avatar
  • 247
1 vote
1 answer
159 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....
user avatar
  • 383
2 votes
0 answers
92 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 ...
user avatar
0 votes
1 answer
399 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. ...
user avatar
  • 177
1 vote
2 answers
524 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 ...
user avatar
2 votes
0 answers
1k 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 ...
user avatar
2 votes
1 answer
207 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 ...
user avatar
  • 341
1 vote
0 answers
10 views

What is causing my home LAMP server to wait about 57 seconds before serving up a web page?

I should preface this all by saying that I'm certainly not a sysadmin, or even a web designer. I've searched for an answer but most answers I've seen have to do with WAMP and DNS. Not my particular ...
user avatar
0 votes
0 answers
43 views

Redirecting a public subdomain to a local ip

So I've been working on a little project at home with a Raspberry Pi. I wanted to set up some kind of intranet for my household to use, and everything's been working fine, but I found that using an ip ...
user avatar
0 votes
3 answers
371 views

2 Raspberry PI connecting to same MYSQL database on the same network

I am working on a project which requires 2 Raspberry Pis to share some data. I have figured that it would be most convenient for me to use MySQL database since I had a bit of experience on that. I ...
user avatar
4 votes
1 answer
7k views

localhost and 127.0.0.1 working but not ip address in wsl windows 10

I recently switched from Linux to WSL2 (Ubuntu 20.04) on Windows 10. When I run any NodeJs application or a server like Apache or Nginx everything works fine on localhost or 127.0.0.1 but doesn't work ...
user avatar
0 votes
0 answers
163 views

How to start local AEM 6.5 instance on port 4502 using Docker

I'm using the latest Adobe Experience Manager (AEM) image in Docker (https://hub.docker.com/r/aemdesign/aem) on my Windows 10 machine and everything was working fine, but suddenly AEM no longer loads (...
user avatar
1 vote
2 answers
781 views

How can I solve this error on my Pentaho BI Server: “pentaho PentahoSystem.ERROR_0014”

I get this error when I set MySQL as repository: PentahoSystem.ERROR_0014: Error while trying to execute startup sequence for org.pentaho.platform.engine.services.connection.datasource.dbcp....
user avatar
0 votes
0 answers
164 views

Not working Windows hosts file (for "localhost" name) in Parallels Desktop 16

I am using Parallels Desktop 16 on my Macbook Pro 15 (MacOs 10.15.7) I am installing the free "Legacy version of Microsoft Edge on Windows 10" in Parallels Desktop 16. But I cannot redirect &...
user avatar
  • 1
0 votes
1 answer
370 views

Why is there another DNS server involved when resolving localhost?

I've already fought many battles with WSL 2 and made progress here and there. My newest problem is this: ❯ nslookup localhost Server: 10.10.30.132 Address: 10.10.30.132#53 Name: ...
user avatar
0 votes
1 answer
51 views

Register custom domain locally without using host file

I have installed Topaz SignWeb which installs an agent to capture the signature. I am trying to understand where the internal server in my machine. I found the below in Chrome DevTool, So the domain ...
user avatar
1 vote
1 answer
652 views

why does ssh to localhost as another user on windows 10 still asks for password even after key-pair is set up?

I am using Windows 10 as Username: poh I want to ssh into localhost as another User: ml I have done the following steps in Powershell: ssh-keygen -t rsa ssh ml@localhost mkdir -p .ssh cat .ssh/...
user avatar
0 votes
2 answers
1k views

How can I get ChromeOS/Linux to play nicely with localhost, VirtualHosts and local storage?

I'm pretty new to Linux and using localhost having really only developed using a self hosted, browser based IDE on a live site up until now. Using a Chromebook(v84, regular channel, Debian 10 Buster), ...
user avatar
  • 1
1 vote
0 answers
54 views

Plex server is intercepting localhost (calls from JDownloader)

I've been using Plex Server for some times without issues on Linux Mint Cinnamon. I've just installed JDownlader2, which works fine, except for the captcha parts that try to open the browser and I end ...
user avatar
  • 312
0 votes
0 answers
65 views

Why aren't my self-signed certificates working for HTTPS on localhost

I have this in Node.js: const http2 = require('http2') const fs = require('fs') let server start({ port: process.env.PORT || 3000, private: fs.readFileSync('/Users/me/certs/localhost.key')....
user avatar
  • 289
2 votes
2 answers
218 views

Can I use the same port on 127.0.0.1 and 192.168.x.x

I don't quite understand how localhost relates to the private IP assigned to each machine. If I run a server on localhost:8080, can I run something else on 192.168.x.x:8080? More specifically if I run ...
user avatar
0 votes
0 answers
423 views

What causes http://localhost:8000 connection issues on some browsers?

Background This morning I had an issue accessing a docker container exposing an apache webserver on port 8000. I expected http://localhost:8000/ to connect and show the website as (I thought) it had ...
user avatar
  • 101

1
2 3 4 5
13