Skip to main content

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.

259 questions with no upvoted or accepted answers
9 votes
2 answers
66k views

Chrome Localhost Connection Refused

This question is not a duplicate because the suggested duplicate does not solve this problem. There is no such flag on chrome://flags/. I'm using the Google Chrome web browser and WampServer to ...
BullyWiiPlaza's user avatar
4 votes
0 answers
8k views

Can't connect to socket listening on 127.0.0.1 but works for 'localhost' in Windows 10

I have a clean install of Windows 10 Pro x64 and I’m trying to run PostgreSQL server on it. It used to work perfectly on Windows 7, but Windows 10 is behaving really weird: If I configure PostgreSQL ...
extesy's user avatar
  • 41
4 votes
1 answer
1k views

Override localhost IP Adress in Windows 8.1

I'm trying to set up Windows 8.1 virtual machine through VirtualBox for testing a server running on my Mac (running Yosemite 10.10.3). VirtualBox sets up a the IP 10.0.2.2 to point to the host machine'...
Adam McCormick's user avatar
4 votes
0 answers
327 views

read localhost mail and send to locahost using Mail.app (or any other std mail client app)

I want to read the localhost mail on Mail.app. Currently I just type mail on the command line. If I can read "localhost" mail on my Mail.app, then can I send (or move mail from other accounts, e.g. ...
Sal Jr's user avatar
  • 141
4 votes
1 answer
2k views

How to forward localhost + a port into a Windows VM

I'm on a Mac running a Windows VM in Parallels, I'd like to - from my mac - be able to hit http://localhost:44300 and have that request served by an application running inside the VM. I know that ...
George Mauer's user avatar
3 votes
0 answers
33 views

Why Can't My Desktop Access Apache Web Server on LAN While Laptops Can?

Thanks to Using Domain name instead of localhost in with https in xampp I am running a website on an Apache web server using XAMPP on a new laptop (Laptop 1), which is the host, running Windows 11 and ...
Harry McKenzie's user avatar
3 votes
0 answers
4k 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
3 votes
0 answers
205 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
3 votes
0 answers
956 views

Firefox is slow to resolve localhost domains on MacOS, Chrome is not

I am developing a website on localhost with the following entry in my hosts file: 192.168.10.10 mysite.local That IP is coming from a Vagrant provisioned VM hosted in Virtualbox. Whenever I try ...
AgmLauncher's user avatar
3 votes
0 answers
2k views

Firefox redirects localhost to the current IP of the network adapter

I have a really strange problem. If I try to access an locally running web application via localhost then my Firefox redirects me to the IP of my network adapter an removes the given port. In Internet ...
Chris S.'s user avatar
3 votes
2 answers
3k views

Can I still access another localhost website in my computer after sharing my localhost to another computer?

I am using xampp and I tried to share my localhost with another computer with the same network.Everything works fine they can see my phpmyadmin and the website I made. The problem is when I try to run ...
aiai's user avatar
  • 139
3 votes
0 answers
219 views

OSX localhost mail in mail.app?

Every time I start a Terminal I see that I have unread mail. I know that I can access them via the mail command but I'm not comfortable in using that command. Is there any way to read the local mail ...
Ola's user avatar
  • 199
3 votes
0 answers
929 views

How to remove all autocomplete urls with a certain url in Chrome

I am converting my localhost:8888 to localhost and I want to remove all the autocomplete urls that have localhost:8888 in them. I already did this for history but how do I do this for autocomplete? I ...
Jason Silberman's user avatar
2 votes
1 answer
592 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
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
2 votes
1 answer
3k views

View localhost from Iphone using MacBook Pro

I am attempting to view my localhost from my Mackbook on my iPhone. I am attempting to do so through USB connection with development modes on in Safari in both devices. The application is a simple ...
Stephen Agwu's user avatar
2 votes
0 answers
340 views

Unable to reach localhost (High Sierra)

Started running into difficulties with my MBP running high sierra after a forced reboot (crash) earlier today. My issue basically boils down to this: After a reboot, I'm unable to establish a ...
swhitewvu24's user avatar
2 votes
0 answers
3k views

ERR_CERT_AUTHORITY_INVALID on localhost:8080 but NOT on localhost:3000, Why?

I properly (it seems) added a self-signed cert to chromium on ubuntu 18.04. I am using docker, (laradock ~ php-fpm, nginx, mysql, redis, workspace) and I have added the certificate on nginx to the ...
EffectiX's user avatar
  • 131
2 votes
0 answers
2k views

curl 127.0.0.1 and localhost behave differently (hosts file is good)

I ran into weird issue on dev server. CentOS 6.5. If I curl from bash script to "127.0.0.1" I get 403 response. It tries to go through corporate proxy. Details below. If I curl to "localhost" - it's ...
Alex Orange's user avatar
2 votes
0 answers
1k views

Win10 slow localhost access when network cable unplugged

We have a web application that we deploy on either Win7 and Win10. The web client connects to apache and to our back-end server over HTTP and HTTPS. In one of our deployment scenarios, everything is ...
James's user avatar
  • 21
2 votes
1 answer
347 views

remote desktop crashes when browse visual studio projects

so I am working on a remote desktop, which is for a remote server(this server is hosting the online version of the web app that I am developing, but I am developing a local copy,also stored on that ...
AprilX's user avatar
  • 121
2 votes
0 answers
725 views

McAfee firewall blocks localhost in subprocess only

This is a programming-related question but seemed more appropriate for SuperUser than StackOverflow. I have installed McAfee (a trial version of LiveSafe -- Internet Security) on my PC. I am running ...
M Katz's user avatar
  • 151
2 votes
1 answer
186 views

Using virtual box and trying to run the server on my local host

I am trying to run the virtual box (Linux) off my Windows host, and currently trying to access the URL "local.corn.org". I edited the hosts file, adding 10.0.2.2 local.corn.org and also tried ...
Lion789's user avatar
  • 129
2 votes
1 answer
1k views

'httpd-vhost.conf' breaks WAMPServer?

I am attempting to host a development website from my laptop using WAMPServer. My goal is to install WordPress and have users log in from their homes. I’ve successfully installed WAMPServer 2.2 I’ve ...
AMoralGhost's user avatar
2 votes
1 answer
954 views

Setting subdomains on Localhost

I'm trying to test a multi-tenant application locally by setting a subdomain on localhost. The application is currently running on localhost:5252. In my hosts file I added the following: 127.0.0....
RobVious's user avatar
  • 121
2 votes
1 answer
369 views

Re-establish route to localhost on Windows Vista

route -f How do you re-establish a route to localhost after this? I can re-establish connections to the Internet via wireless using route add {wirelessgateway} {wirelessip} if {wirelessif} route add ...
nkp's user avatar
  • 21
2 votes
2 answers
2k views

I can't work locally unless connected to the internet - how to fix?

In Firefox, when I am disconnected from the net, I want to work locally on my local IIS server (Win XP, Firefox 3.5.10). I do NOT have Work Offline checked but FF says that it cannot find my site (ie. ...
Rodney's user avatar
  • 431
2 votes
1 answer
8k views

Access localhost ( running on Mac OS X ) from another machine in the network

I have a REST service running on Mac OS X, which im currently accessing using "localhost:8888" and "10.0.2.2:8888" I want to access the same service from another computer which is in the same network....
Ramindu De Silva's user avatar
1 vote
0 answers
71 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
1 vote
1 answer
652 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
  • 111

15 30 50 per page
1
2 3 4 5
9