Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

Questions tagged [localhost]

Localhost is an address/term used for testing connection to the local host (current computer) used for some network troubleshooting

Filter by
Sorted by
Tagged with
-1 votes
0 answers
9 views

Change requests to arrive at loopback address under specific port

I have the following setup: A Vodafone GigaCube providing internet access A couple of DYMO LabelWriter Printers connected through a switch to the GigaCube A Laptop thats connected to the gigacube ...
user avatar
  • 1
0 votes
2 answers
24 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 "/...
user avatar
0 votes
0 answers
16 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:...
user avatar
0 votes
0 answers
20 views

Allowing docker to access local webhost Database

I am creating a webapp for my business using AppSmith, hosted on Docker. AppSmith requires access to a database in order to read/write information. Previously I have used MariaDB which is also hosted ...
user avatar
  • 101
0 votes
0 answers
12 views

Can't connect to my localhost server using Google secure shell

I'm trying to use Secure shell to connect to my own localhost server which I have created on WSL Ubuntu. But it's not connecting. It shows connection refused. What could be the reason for it? And any ...
user avatar
  • 97
1 vote
1 answer
38 views

mariaDB 10.5.12 access denied for root@127.0.0.1

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 ...
user avatar
  • 11
0 votes
1 answer
40 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 ...
user avatar
1 vote
1 answer
277 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 ...
user avatar
  • 81
2 votes
0 answers
332 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 ...
user avatar
  • 578
0 votes
2 answers
119 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 ...
user avatar
  • 3,130
-1 votes
3 answers
78 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 ...
user avatar
0 votes
2 answers
28 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 ...
user avatar
0 votes
1 answer
183 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 ...
user avatar
  • 3
0 votes
0 answers
15 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 ...
user avatar
0 votes
0 answers
36 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 ...
user avatar
  • 287
1 vote
0 answers
73 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 ...
user avatar
  • 287
0 votes
0 answers
123 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 ...
user avatar
  • 287
0 votes
0 answers
160 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....
user avatar
  • 127
0 votes
0 answers
123 views

Erreur IIS 10.0 HTTP 404.0 - Not Found

https://i.stack.imgur.com/W5AU8.png Hello I try to connect to the localhost of the phpadmin and its always giving me the same answer I put the photo on it, I do not see where its could come from ...
user avatar
  • 1
0 votes
1 answer
142 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 ...
user avatar
  • 241
0 votes
0 answers
449 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... :-( ...
user avatar
  • 101
0 votes
0 answers
228 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://...
user avatar
  • 581
0 votes
2 answers
376 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 ...
user avatar
0 votes
0 answers
30 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 ...
user avatar
0 votes
0 answers
68 views

Change port 80 to IPv4 unspecified instead of loopback on server 2019

So i have this strange problem where i can't install milestone system on server 2019. The error says that machine repeatedly refuses the connection. When i check with netstat port 80 is used by 127.0....
user avatar
0 votes
1 answer
697 views

Connecting To 127.0.0.1…Could not open connection to the host, on port 8123: Connect failed

Well aware this has been asked, but I have scoured Google/StackOverflow and tried every single suggested solution, without being able to connect to port 8123 on my local (which is running Windows 10). ...
user avatar
  • 123
2 votes
1 answer
144 views

used colons for url htaccess http://localhost/1:1

I have a problem with the colons used in url this my url http://localhost/1:1 this my htaccess RewriteEngine On RewriteRule ^/(.*):(.*) index.php/$1:$2 this error show Forbidden You don't have ...
user avatar
0 votes
0 answers
13 views

How to make NodeJS server located on VM visible on host PC?

I have my PC (host) and two VBox Linux virtual machines installed on it. One VM contains Postgres database and the other one NodeJS server running on it and they both can communicate between. When I ...
user avatar
1 vote
1 answer
295 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
  • 1,497
0 votes
1 answer
321 views

Will /etc/host file entries be transferred to VPN DNS Server?

I have several localhost entries on my local etc/host file. (in Mac "/etc/hosts" and in Windows "C:\Windows\System32\drivers\etc\hosts" # LOCAL DEVELOPMENT 172.16.5.248 maxim.local ...
user avatar
  • 3,855
0 votes
1 answer
74 views

Postfix SMTP only localhost login - disable remote login

I have configured postfix + dovecot on a debain 10. I have installed a web server to have webmail with roundcube. I don't want anyone other than roundcube to be able to use mail services, so I'm only ...
user avatar
1 vote
1 answer
121 views

How do ProxyPass from Apache to node.js so I can drop the port number in my local URL?

I'm trying to use a domain name for local development of a next.js app. Normally, it fires up at localhost:3000 but I'd like to use site1.local (and no port). I've edited my hosts files to point the ...
user avatar
0 votes
0 answers
95 views

NGINX Get local IP for proxy_pass

Is it possible to pass in a variable such as $server_addr into proxy_pass. proxy_pass http://$server_addr:8096/; If I do this, I run into issues where it doesn't load. Is this possible on what I'...
user avatar
0 votes
1 answer
192 views

What is the difference between the loopback interface and the 127.0.0.1 IP address?

I am trying to allow connections between softwares running on the same machine in iptables. The following kill my internet connectivity: # The following rules doesn't allow the VPN connection to be ...
user avatar
1 vote
1 answer
787 views

Which Traefik config to replace Ngrok?

I have a server with a public IP and Traefik V2 running on it (dockerized). I have localhost.example.com pointing to the server's public IP. I can make a SSH reverse tunnel between my laptop and the ...
user avatar
  • 131
1 vote
1 answer
136 views

Bad Request from RewriteRule after putting <If> Directive

I am building .htaccess for both localhost and godaddy when I stumbled upon this issue. RewriteEngine on SetEnvIf HOST ^localhost$ LOCAL=/company SetEnvIf HOST ^((?!localhost).)+ LOCAL=/ <If &...
user avatar
0 votes
1 answer
75 views

How can i access my ip:my port [closed]

I'm trying to access a specific port (which is 3000) on my server, I can access to localhost:3000 and I can access 192.168.1.111 (my local IP) but I can't access 192.168.1.111:3000 although I'd added ...
user avatar
7 votes
2 answers
12k views

How to add local forward setting to my ssh config file?

I currently can do this: ssh 12.34.56.78 -L 8888:localhost:8000 And I can then open my local browser to localhost:8888 and see the app running in my server at 12.34.56.78:8000. I want to avoid having ...
user avatar
  • 175
1 vote
0 answers
127 views

Browser Downloading ASP App Instead of Displaying

Windows Server 2012 R2 / IIS 8.5 In IIS > Sites > Default Website I have an (ASP) application, when I visit the localhost URL a file is downloaded instead of the page being displayed. The files ...
user avatar
0 votes
1 answer
224 views

If I request data from localhost vs web-address, does the data go through the network

Apologies if my wording is not fully correct - I am quite new to all of this. Goal: I am trying to improve the speed at which I get data from my database Setup: I am hosting the DB on server A. The DB ...
user avatar
0 votes
1 answer
528 views

Cannot connect to port 5432 locally even though it is allowed by UFW

I'm trying to setup my server so that port 5432 (Postgres) is accessible only from localhost. So I've denied everything, and added back port 5432, however I cannot connect to it. Here is my UFW config:...
user avatar
  • 155
0 votes
0 answers
89 views

Bind 9 debug logging requests from localhost

If I do, for example dig delfi.lv from a PC on LAN, I get some log messages in /var/cache/bind/named.run like: 29-Oct-2020 12:01:51.905 client @0x7f2adc000cd0 192.168.1.2#37827 (delfi.lv): query: ...
user avatar
1 vote
0 answers
661 views

windows 10 localhost resolution slow

i am running a local python server on windows 10 and sending requests to it via the localhost domain are significantly slower than using 127.0.0.1. i have edited my hosts file and the problem occurs ...
user avatar
  • 133
0 votes
0 answers
29 views

Identify Source / Trigger of / for Network Traffic locahost

I want to identify the application trat triggers network traffic like the one below. I have dissabled ethernet and wireless cards, and denied incoming traffic in firewall. $ sudo tcpdump -vv -e -A -i ...
user avatar
0 votes
1 answer
426 views

How to debug localhost redirect issue?

I am trying to figure out why when I access my local IP (192.168.x.x) from another PC does not redirect to localhost of my PC. My configuration is this: I have a hypervisor on my server. On the ...
user avatar
0 votes
0 answers
23 views

Running built application (Bamboo)

With my centOS running Bamboo Server, I have configured plans to build applications whenever a new code gets commited on a certain branch in the project repo on bitbucket. But i am unable to run the ...
user avatar
0 votes
2 answers
331 views

changing netmask of loopback interface

I can change netmask of loopback inteface (usually lo interface has 127.0.0.1/8): pi@raspberrypi:~ $ ifconfig lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 ...
user avatar
0 votes
1 answer
127 views

Nginx localhost multi site downloads php files instead of executing

I have multi sites in my web root (/var/www), for example site1, site2, etc. and I configured Nginx as below: ## PHP-FPM Servers ## upstream localhost-php-fpm { server unix:/var/run/php/php7.3-fpm....
user avatar
  • 1
0 votes
3 answers
959 views

nginx won't load site on local machine

I want to build and test my website on my Arch Linux computer. The contents of the website, including index.html, are in /srv/http/myproject/. /etc/nginx/sites-available/myproject.conf looks like this....
user avatar
  • 143
0 votes
1 answer
500 views

Postgres authentication type "local" vs "host 127.0.0.1"

I have a Postgres v10 Server to which only local connections will be established. In the documentation I find two methods to configure such an authentication process in pg_hba.conf: local and host ...
user avatar
  • 111

1
2 3 4 5
11