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
0 answers
799 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
427 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
4k 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
552 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
412 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
1k 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
39 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
549 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
  • 249
0 votes
2 answers
269 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
64 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
636 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
544 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
  • 503
2 votes
0 answers
2k 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
2k 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
  • 285
1 vote
2 answers
2k 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
3 votes
0 answers
3k 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
1k 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
  • 443
1 vote
0 answers
15 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 ...
tripleman's user avatar
0 votes
0 answers
95 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 ...
paulchartres's user avatar
0 votes
3 answers
933 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 ...
Lukas Petrikas's user avatar
6 votes
1 answer
20k 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 ...
Aabhas Dhaubanja's user avatar
0 votes
0 answers
352 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 (...
user3120861's user avatar
1 vote
2 answers
2k 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....
Jamal Marouf's user avatar
0 votes
0 answers
302 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 &...
InFuz's user avatar
  • 1
0 votes
1 answer
981 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: ...
primfaktor's user avatar
0 votes
1 answer
195 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 ...
Imran Qadir Baksh - Baloch's user avatar
1 vote
1 answer
1k 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/...
Pooja Hegde's user avatar
1 vote
2 answers
4k 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), ...
Baddie's user avatar
  • 111
1 vote
0 answers
93 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 ...
R3uK's user avatar
  • 382
0 votes
0 answers
808 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')....
Lance's user avatar
  • 377
3 votes
2 answers
1k 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 ...
alex_danielssen's user avatar
0 votes
0 answers
623 views

VMware can't connect to Xampp localhost

Problem I'm running Windows 10 on my physical computer. Xampp is running in it. The configurations are default 127.0.0.1 80, 443. I'm running Kali Linux on VMware Workstation(Latest) but noncommercial....
Ashraful Alam Shakil's user avatar
0 votes
0 answers
285 views

Win10: Cannot ping localhost / Windows Smart Screen does not work

I have an odd problem - I am unable to ping localhost. It just hangs until eventually dies with an error, or returns results. It seems that there is a huge delay in DNS lookup: In addition to that ...
Barry Chapman's user avatar
0 votes
1 answer
3k views

localhost not loading correctly

PhpMyAdmin is not loading correctly after XAMPP starts. I am using the default settings Apache running on ports 80 and 443 and MySQL port 3306. When launch it from XAMPP the page can't be loaded "...
Robert Priest's user avatar
1 vote
1 answer
2k views

Why am I getting seemingly duplicate “arp-scan DUP(:x)” results when running “arp-scan”

I have searched for the information but could not find an answer to my question. So I ran this command on my laptop: sudo arp-scan --interface=eth0 --localnet And got some weird results: ip ...
vallllll's user avatar
  • 113
1 vote
1 answer
2k views

remove local hosts from terminal on mac

I'm trying to instal adobe cloud, but it doesn't work because I believe some of it's servers are blocked in my terminal. How do I remove them? I know how to open terminal, but that's it. I'm not the ...
survivetype's user avatar
0 votes
1 answer
1k views

TCP RST when connecting via telnet to the application - Windows

I have an application running on Windows. The application listens on port 54000. I can connect to the application from the local machine and it works fine: telnet 127.0.0.1 54000 Now, I am trying to ...
Chris's user avatar
  • 141
0 votes
1 answer
750 views

Accessing \\localhost in windows 7

Problem is: I cannot access \localhost from my system explorer(C:\Windows\explorer.exe); I cannot access any other web resource in file explorer, error is always the same generic "0x80004005"; ...
Federico's user avatar
0 votes
1 answer
1k views

Cannot access WAMP over internet

I have installed WAMP 3.2 on Windows Server. I need to access the phpmyadmin running on localhost of wamp over the internet from anywhere. After googling things, i found the modifications in httpd-...
java bee's user avatar
1 vote
1 answer
1k views

How to forward my service from localhost to the internet?

I have made my personal tcp service that works on port 44444 through telnet as a communication protocol. The service itself is just a simple guess game written in C. I am working on Fedora Linux and ...
weno's user avatar
  • 111
0 votes
1 answer
1k views

Chrome os, Chromebook, bash responds to every command in terminal with "permission denied" etc

This is the 6th time I've written and attempted to post my problem and am about to go off my rocker, I'm new to all this and an trying to install a Linux distro on my Chromebook but can't get started ...
Donald King's user avatar
2 votes
1 answer
2k views

Windows 10 hostfile url to IP address of machine

Is it possible to use a fixed url to redirect to the IP of my own PC? I use DHCP and I have no problem with it but would like to use an url i.e. "server.local" to reach a web server deployed on the PC ...
breakline's user avatar
  • 121
25 votes
7 answers
63k views

How to connect wsl to a windows localhost?

I'm trying to let WSL use a localhost proxy(actually its Fiddler) on my windows, but I can't see any connection like that, and downloads usually fail, how do I fix that? I know that I can connect to ...
ygy's user avatar
  • 371
3 votes
0 answers
185 views

Trying to run a local server with port forwarding behind a carrier grade network from ISP, but getting no connection with localhost

i'm trying to make a half life server by portforwarding trought my router. It didn't work, i checked it out, and my public IP and my WAN IP were different, then i realised that i was in a carrier ...
João Peterson Scheffer's user avatar
1 vote
0 answers
206 views

Solr that runs on a docker container takes localhost but not the container IP

I have used official CentOS 7 image from Docker Hub and created a container that runs Solr 8.4.1 version. I was able to start and run the Solr without any issue. My concern is, Solr admin UI loads ...
AnujAroshA's user avatar
0 votes
1 answer
6k views

How to block a port on localhost?

Here's my scenario: I have an Apache load balancer in front of two Tomcats (this is on Windows). Periodically I'd like to ensure that traffic gets routed to a specific Tomcat. Stopping one Tomcat is ...
Johnny's user avatar
  • 245
23 votes
2 answers
42k views

Windows 10 WSL cURL can't access localhost with error (Failed to connect to localhost port 80: Connection refused)

The issue with my WSL is the following my WSL can't make a cURL request anywhere under localhost. For this example, I have created a page that returns hello world. My cURL looks like this (note that ...
Theodosis 's user avatar
1 vote
1 answer
2k views

Locating the directory of localhost

An useful editor (Lugaru's Epsilon Programmer's Editor), is running on my localhost at port 8888 (i.e., localhost:8888), when I open the offline help through the application. Below is a screenshot: ...
Cylian's user avatar
  • 111

1
2
3 4 5
14