Questions tagged [localhost]
Localhost is an address/term used for testing connection to the local host (current computer) used for some network troubleshooting
555
questions
0
votes
2
answers
25
views
Exclude local sub-net (local IP ranges)
In my company's VPN app we have a disable-able feature which excludes below List of non-web-site IP-address ranges from being routed into the VPN server.
This allows local-net Apps to continue working ...
1
vote
1
answer
155
views
mysql bind-address change from 127.0.0.1 to server's IP Address breaks websites
I'm trying to setup mysql replica. On master when I change bind-address value in my.cnf to server's IP address some of websites break as they are using 127.0.0.1 as database host value.
There are few ...
0
votes
0
answers
36
views
Bypass DNS rebinding for localhost
I am encountering more and more issues with an app I created that binds to 127.0.0.1 on an obscure port. I have a domain name - due to needing an SSL cert - that resolves to 127.0.0.1.
I have this ...
0
votes
2
answers
103
views
Mysql bind-address local subnet only
I am trying to allow users on my local subnet to log into my MySQL server.
The server is running Ubuntu 23.10 and MySql version 0.0.35-0ubuntu0.213.10.1
The Clients are 2 iMacs with macos Sonoma 14.2....
0
votes
0
answers
153
views
Wordpress site on localhost WAMP "This site can´t be reached this connection was reset ERR_CONNECTION_RESET"
I've been working on a WordPress site on localhost using WAMP. My site was slow and I saw that it would get faster if I unchecked the cgi Apache module. Now, none of my local WordPress sites load ...
0
votes
0
answers
45
views
MySQL Database refusing connection to user with USAGE privileges
I have a user 'salesman'@'%' trying to connect to my database with USAGE privileges on *.*, and SELECT privileges on one view within the database.
Whenever I try to connect to the database whether via ...
-4
votes
1
answer
41
views
Is it possible to connect my hp laptop localhost IP to in my MacBook through localhost IP address? [closed]
I have two laptop
first is HP and second is MacBook
Now I want to use HP localhost IP to in my MacBook through localhost IP address
Is it possible?
0
votes
0
answers
740
views
Cannot connect to website through reverse proxy on local network
I'm having this strange issue. I have a local network running a server with my gitlab instance and some webpages. The configuration of my reverse proxy is following:
server {
server_name my.website....
0
votes
0
answers
246
views
All tcp ports are not reachable on localhost (MacOS 13.4)
A friend of mine asked for help, basically any app listening on some local tcp port on localhost can't be reached. For example a node.js server running on port 8080 or 3000.
Executing the command sudo ...
-1
votes
1
answer
420
views
"[Errno 2] No such file or directory: b'net'" when trying to use Ansible localhost to connect to a Windows Shared Folder
I am unable to use Ansible localhost (Linux) to connect to a shared folder on a Windows Server.
I am getting [Errno 2] No such file or directory: b'net'. However, I have checked that my file path to ...
0
votes
1
answer
315
views
Lost Local Connection to MySQL DB that resides in AWS RDS
The MySQL DB residing in AWS RDS was made to connect with resources in the same VPC. I always had to make it publicly accessible in order to connect to it through MySQL Workbench 8.0 CE in Windows 11. ...
0
votes
0
answers
92
views
TCP connect <--> accept with INADDR_LOOPBACK range
I have some production code for a distributed system. Part of this code works by looking up (already established tcp) connections in a hash table, indexed by remote ip address. This code works ...
0
votes
0
answers
868
views
Windows 11, localhost / 127.0.0.1 port number changes on invocation
I'm testing a fastapi http server on Windows 11 running on 127.0.0.1:8000. In another terminal, a request is sent to the server on 127.0.0.1:8000. The result is a Bad Request and the server says it ...
0
votes
0
answers
4k
views
cURL error 7: Failed to connect to localhost port 443: Connection refused
OS version: Ubuntu 20.04 x86_64
Plesk version: Plesk Obsidian 18.0.47.5
Hi,
I am running XenForo Forum on my Plesk which running behind Cloudflare.
I get following erro log, which is showing me that ...
0
votes
0
answers
206
views
How to access pods from local terminal?
I have a Kind cluster installed on my Ubuntu machine. I have deployed few pods on the cluster and can see they're running using kubectl get pods command.
As my pods are some NodeJS services and a ...
0
votes
1
answer
292
views
Can I tunnel all ports from remote server to 127.0.0.2 (for example), so work with it like with localhost
I have a remote server.
I started on remote server app that listen localhost only.
I want to tunnel this server to local ip like 127.0.0.2 and access this app through like I on remote server.
I need ...
1
vote
1
answer
560
views
NGINX: localhost redirecting to _
nginx version/1.18.0 (Ubuntu) — Ubuntu 22.04.01 LTS x86_64 kernel 6.0.8
I've got a server (install specs above) that has multiple host names, is running nginx, and everything is working (including ...
0
votes
0
answers
886
views
Localhost not working with vue.js
Im new using vue.js, so I just installed vue.cli and I tried localhost:8080 and it worked perfectly showing the vue welcome page. Then, 2 minutes later, localhost is not showing the page anymore (...
-2
votes
2
answers
6k
views
macOS: How do I expose a localhost port to the LAN IP on the same computer?
On a Raspberry PI I have, whatever I run on, say, http://localhost:8080, is automatically visible to other computers on my local network at http://192.168.0.xxx:8080 or http://pi.local:8080.
This ...
1
vote
0
answers
163
views
how to set up nginx aliases on a localhost development server?
Struggling to adapt nginx to my framework and get the equivalent of, in apache config :
Alias /site1 "/home/framework/public_HTML"
(and then localhost/site1 displays site1 with local/dev ...
0
votes
1
answer
2k
views
Can't make v2ray to send DNS queries to its localhost
There are two v2ray servers A and B with similar configurations but A works as an intermediary (vmess+websocket on both inbound and outboud) to reach B.
I want to make A to send incoming DNS queries ...
0
votes
0
answers
137
views
unable to load files in /var/www on localhost
I don't know why, but until recently, I could load files located in /var/www/ by typing the folder name in my browser, and I could load files located in /var/www/html by using localhost/<>
Now, ...
0
votes
0
answers
42
views
My GCP compute instance isn't receiving any port traffic
const express = require('express') const app = express() const port =
9093
app.get('/', (req, res) => { res.send('Hello World!') })
app.listen(port, () => { console.log(Example app listening ...
0
votes
3
answers
1k
views
Apache 2.4 can connect localhost but not IP
Im using Laragon to connect everything together:
httpd.conf
#Listen 12.34.56.78:80
# Listen 80
# Listen 80
# Listen 0.0.0.0:80
Listen 80
#
#ServerName www.example.com:80
ServerName :80
#
# Deny ...
0
votes
1
answer
43
views
How to create a local host that can be accessed through everyone on the same internet?
I've had an Apache Virtual Host working for a couple of month where workers on the office wifi could type in something like www.XYZ123.com and was able to access the website through their browser.
Now,...
0
votes
1
answer
237
views
How can I create a self-signed certificate that works with the browser?
I have been trying to create a self-signed certificate. The Firefox browser says the certificate is "not secure."
I created the certificate following this SO explaination: Is it possible to ...
0
votes
1
answer
1k
views
Why is *.localhost resolved automatically on Ubuntu but not on MacOS?
I have the same hosts file on both Ubuntu and MacOS.
127.0.0.1 localhost
On Ubuntu:
my-ubuntu$ ping foo.localhost
PING foo.localhost(ip6-localhost (::1)) 56 data bytes
64 bytes from ip6-localhost (:...
1
vote
1
answer
3k
views
How can i host a local website to domain using nginx?
I have a server that is running at 127.0.0.1:8323
This port is not reachable from outside.
I want to provide this ip address as https://example.com/website/index.php over the port 80
How can i do this ...
0
votes
1
answer
795
views
Open up localhost port to outside world
I have a http service running on localhost port 8080 on a centos 7 machine. Is there any way I can route / port forward incoming and outgoing traffic through my external interface. So, mapping 127.0.0....
0
votes
1
answer
2k
views
Perforce client AND server no longer connecting, 127.0.0.1:1666 refusing all connections on server, even local connections
I have a server running Ubuntu server 18.04, and it's the catch-all local server - hosts a samba share, media server, and a Perforce server. I connect to that depot via a local network IP (ssl:192.x....
0
votes
2
answers
2k
views
Apache Proxypass redirects "localhost:port" as url string instead of local service of the port
Environment
Server version: Apache/2.4.6 (CentOS)
I have two servers which are almost duplicates.
aaa.com. and bbb.com.
They have almost same Apache rulesets.
aaa.com. config
<Location "/...
0
votes
0
answers
18
views
How do I create a Virtual Name Host on Apache2 for a service running on localhost:8080 [duplicate]
i have a server with apache that runs a mailing service, a wordpress multisite
I have followed guides online to make the above work
now I have a service from Vaadin (java stuff) running on localhost:...
1
vote
1
answer
3k
views
mariaDB 10.5.12 access denied for [email protected]
fresh installation of mariaDB 10.5.12 on debian 11 was hardened with 'mysql_secure_installation' script, question "Switch to unix_socket authentication [Y/n]" was answered with 'yes'.
Now ...
0
votes
1
answer
116
views
(Theoretical view) In a DDoS attack via docker, no correlation found between the amount of sent packets and the number of virtualized containers
I have been testing a DDoS attack in my local network via docker. Each image has loaded with an "evil" DDoS file.
I tested simultaneously several containers attacking at the same time. On ...
1
vote
1
answer
2k
views
How to use smart websocket client from Windows to connect to a running websocket server on virtualbox?
Here is my setup:
Windows 8.1 with Ubuntu 18.04 within VirtuablBox 6.0
Run a websocket server at 127.0.0.1:8083 within VirtuablBox
Within the VirtuablBox, I can connect to the websocket server with ...
4
votes
1
answer
4k
views
Docker service unreachable on host-IP, but works on localhost
I have a similar problem to this post here, though I don't think my IP ranges collide: https://forums.docker.com/t/service-is-unreachable-on-host-ip-localhost-works/78515
I'm exposing a webserver via ...
0
votes
2
answers
988
views
How to make localnetpriority / netmask ordering work on Windows DNS server when it queries itself?
We are utilizing Windows 2016+ DNS servers. We rely on LocalNetPriority on our DNS servers. We have several Active Directory DNS servers across multiple sites. The expected behavior is that when a ...
-1
votes
3
answers
904
views
how to connect to one of multiple virtual sites (apache 2.4)
If I create one site, I can access it with http://localhost ...
But if I create multiple virtual sites, with apache, on the same computer, http://localhost won't work.
How can I access it? (on the ...
0
votes
2
answers
36
views
Connecting to lcoalhost from VM
I am using windows 10 on my local computer, and I'm building an app that requires using Linux OS, therefore I'm using an Ubuntu Virtual Box.
I installed Vagrant, and set SSH connection from my windows ...
0
votes
1
answer
636
views
mysql user@% can access from localhost
I was always told that "%" means every host except localhost.
However I have created a user4@"%" and I can connect to from localhost.
screenshot
So now I am a bit confused ...
0
votes
0
answers
16
views
Apache WampServer - Getting "It works!" only with https [duplicate]
I am using WampServer 3.2.3 (Apache 2.4.46) and I added an SSL certificate on a virtual host, but when I go to this virtual host's whebsite with http, it displays the configured page.
The problem is ...
0
votes
0
answers
228
views
Rewrite to https://localhost:8000 rather than https://localhost
I use nginx in my MacOS to test third-party authentications such as Google and Twitter in localhost. As a result, on my local website https://localhost:8000/..., I could engage with www.funfun.io for ...
1
vote
0
answers
186
views
More explicit Nginx logs
I use nginx in my MacOS to test third-party authentications such as Google and Twitter in localhost. As a result, on my local website https://localhost:8000/..., I could engage with www.funfun.io for ...
0
votes
0
answers
239
views
Debug third-party authentications in localhost with docker and nginx
We have a website where we just added third-party authentications such as Google, Twitter. I'm trying to test these authentications in localhost (MacOS).
I'm running a docker to run nginx, here is ...
0
votes
0
answers
700
views
nginx reverse proxy not serving local domain correctly
I want to resolve a few domain names locally in my computer. To do this I added in /etc/hosts the following line:
127.0.0.1 example.com
Then I configured nginx with the following config file example....
0
votes
1
answer
439
views
Proxy a website from Docker through Nginx without acting as localhost
How can I proxy a website from Docker through Nginx without it acting as localhost?
My current setup consists of an Ubuntu host with a couple of Docker containers with exposed ports. The Docker ...
0
votes
0
answers
836
views
Setting Apache on BigSur (returns ERR_CONNECTION_REFUSED)
Firstly I've read many tutorials, I'm trying for many hours during last days (because I know there were billion similar questions and tutorials for the same thing before) but I'm in the ends... :-(
...
0
votes
0
answers
1k
views
Access the host's IP or loopback interface from Docker container
willnorris/imageproxy is a caching image proxy server that we use in one of our deployments. We typically have a PHP backend that will serve some html or json to a client where the URL would be http://...
0
votes
4
answers
2k
views
How to forward my localhost to my VPS's ip address?
I am running a localhost service on my VPS.
When i start the service, this is what i get:
Navigate to https://127.0.0.1:7443 in a browser
The problem with this is that i can't open it in my browser ...
0
votes
0
answers
184
views
Change bin-address on mysql ubuntu 18.04
I'm trying to change the bin-address of my localhost database instance on a ubuntu 18.04 computer
i went to /etc/mysql/mysql.conf.d and then modified the file mysqld.cnf to assign the ip address i ...