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
0
votes
0answers
22 views

Running Redoc test server locally

I am trying to run up a small redoc server locally. I have created the swagger.json file. And it works fine when I place it in a hosted webserver and point to it in the index.html file as: <redoc ...
-1
votes
0answers
23 views

Accessing local website with a dynamic IP from another computer inside the local network through IIS

Similar, but with a few extensions from question: https://stackoverflow.com/questions/21896534/accessing-a-local-website-from-another-computer-inside-the-local-network-in-iis The scenario is: Computer ...
-1
votes
0answers
18 views

Browsers won't connect to localhost on ubuntu

I am making a simple, custom server (server.c) on my ubuntu platform, and am trying to get a browser to open up an html file (the html file is stored in the same directory as my server.c file), via my ...
0
votes
1answer
36 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 ...
1
vote
1answer
65 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 ...
0
votes
0answers
26 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'...
0
votes
1answer
49 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 ...
1
vote
1answer
91 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 ...
1
vote
1answer
36 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 &...
0
votes
1answer
49 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 ...
1
vote
1answer
97 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 ...
0
votes
0answers
38 views

mariadb-setting to allow connections only from 127.0.0.1 is not taking effect

I want to force my mysql server to listen only on 127.0.0.1:3306 and disallow remote connections. so I set this line in server.cnf file (I'm using mariadb): bind-address = 127.0.0.1 and then I ...
0
votes
0answers
60 views

nginx reverse proxy SSL doesn't resolve to correct internal IP ( odoo14 server with nginx reverse proxy SSL)

I have been running in some problems. I have scanned serverfault and google, but i can't get it to work as it should. I am at a loss. I have odoo 14 running on Debian listening on port 8069. Odoo ...
0
votes
0answers
38 views

local user can not get access to mariadb

i spent the last 3 hours trying to set up suiteCRM. i get an error 'can not load DB manager'. I do believe it comes down to the fact that my user pi can not access mariadb: pi@nextcloudpi:~ $ mariadb ...
1
vote
0answers
19 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 ...
0
votes
1answer
51 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 ...
0
votes
1answer
39 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:...
0
votes
0answers
49 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: ...
1
vote
0answers
101 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 ...
0
votes
0answers
23 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 ...
0
votes
1answer
133 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 ...
0
votes
0answers
20 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 ...
0
votes
1answer
125 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 ...
0
votes
1answer
34 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....
0
votes
3answers
230 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....
0
votes
1answer
107 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 ...
0
votes
1answer
45 views

nginx acessible from localhost but not from private ip

I'm trying to expose an ubuntu computer to my local network to host a website. After installing Nginx, and configuring ufw to open ports. I configured Nginx with the following: http{ server{ ...
1
vote
1answer
419 views

What does “localhost name resolution is handled within DNS itself” mean?

I know that the Windows hosts file maps host names to IP addresses. But there is no mapping for localhost. Instead it has a comment that says this: # localhost name resolution is handled within DNS ...
0
votes
0answers
241 views

Is IIS binding to “localhost” equivalent to 127.0.0.1 IP Restriction?

We have a website set up in IIS that is for security reasons only allowed to be accessed by itself. It sits on the same webserver as publically accesible websites. The way this has been enforced is ...
0
votes
1answer
162 views

Is it possible to forward 127.0.0.1:port to publicip:4567?

I have a ruby server running , based on the following repository https://github.com/BuffaloWill/oxml_xxe I am running Ubuntu without vnc installed. I tried to access the server via my public ip and ...
0
votes
0answers
13 views

nginx failed to run on localhost because address is already in use, but no other process is listening on the same port

my macbook air restarted itself a couple of days ago for some reason, after that restart i kept getting the error 502 whenever i try to access my localhost. i googled and searched and none of the ...
0
votes
1answer
373 views

Pushing to local docker registry gives connection reset error in githubactions

Pushing to local docker registry gives connection reset error It was this same situation but instead for github actions which appeared to have different issues. I also followed this: https://github....
0
votes
1answer
72 views

Trying to setup GatsbyJS development server on Amazon EC2

I have an amazon ec2 instance with the following securitiy group I am running nginx with the following configuration under /etc/nginx/sites-available/default server { listen 80; server_name http://...
0
votes
0answers
475 views

Thunderbird failed to find the settings for your email account

I can't seem to overcome the "Thunderbird failed to find the settings for your email account" error. I'm using Virtualbox (ubuntu, virtual server, virtual workstation, localhost Servername: ...
0
votes
1answer
13 views

Does the resources of a localhost testserver equal the resources of the computer itself?

I have a webapplication that i occasionally run on localhost. It is a spring boot application running on an embedded tomcat server. Say my computer has a cpu of 2.1 ghz and 8 GB of RAM, does this mean ...
0
votes
1answer
570 views

Redirect localhost port to external ip and port

I am running macOS Mojave 10.14.6. I have an app that is looking for a service hosted on localhost:9999, but I am hosting this service on a different server at 12.3.4.5:8000. How can I setup firewall ...
0
votes
1answer
362 views

Postfix configuration to send emails from localhost

I want to configure localhost to send emails via postfix server, I do this for testing my solution of setup Docker with Wordpress (with solution found on internet email was not working, also curl but ...
0
votes
2answers
3k views

Minikube. How to allow access to local mySQL database from container

I'm trying to access to local MySQL database from minikube container. My minikube works on Windows 10 with hyper-v driver. I found a few solutions (creating host-only network from VirtualBox) but ...
0
votes
1answer
231 views

domain connecting to localhost and links not working (ERR_CONNECTION_REFUSED)

I'm having trouble to get my website properly online, which I created/designed in Wordpress. I have bought a domain and rented a WordPress hosting server. I have uploaded my whole WordPress folder ...
0
votes
0answers
665 views

firewalld is it required to open ports for localhost apps using that port on same server?

Is it required to open ports for localhost apps using that port on same server? I mean not extra connections are made from external servers.. for example i have installed memcached service which ...
0
votes
1answer
2k views

http://localhost redirects to an external website [closed]

My ubuntu is redirecting http://localhost to an external website (in my case https://about.gitlab.com). I've looked at the apache.conf and etc/hosts, but I cannot find any reference to the redirect ...
0
votes
1answer
387 views

Hostname wildcard % does not include localhost or 127.0.0.0

In MariaDB on windows I create a user and database with the following flush privileges; CREATE USER 'test-one'@'%' IDENTIFIED BY 'test-one'; GRANT USAGE ON *.* TO 'test-one'@'%' REQUIRE NONE WITH ...
0
votes
0answers
237 views

How to redirect HTTPS traffic to a proxy on localhost:443?

I'm building an HTTP server in C++ using the Cesanta Mongoose c++ networking library. Essentially I'm trying to redirect traffic from my web browser to a proxy on the localhost. I recently added ...
1
vote
0answers
178 views

Web server on remote, is it possible to ssh to remote and have local browser connect to server?

On a headless remote machine which I connect to via ssh and do not have sudo privileges, I have an interactive python script with a console interface. I want to use a simple web framework like flask ...
0
votes
2answers
615 views

Adding virtualhost to Apache prevent access to localhost

I am using Uubntu 16.04, with Apache2 (version 2.4) on my local personal laptop for development purpose. I have added a virtual host (hehe) under sites-enabled directory. Since I have added it, I ...
1
vote
0answers
246 views

CURL Cannot Resolve Host running on MAMP

I have a MAMP PRO set up with local SSL certificates for a url named qph-plugin.local which is running a wordpress site. When I view the site in the browser on my machine it all works as expected. ...
0
votes
1answer
2k views

Configuring https for localhost (Apache2)

I try to set up https for my localhost. On my localhost I have a Zabbix_server instance running. I have set the permissions according to this post, but I recieved this errors: [Mon Oct 14 10:37:37....
1
vote
1answer
907 views

Changing from Localhost to Computer Name Throws 403 Error (Tomcat 9)

I am trying to run Tomcat 9. I have configured it to run with SSL. So when I am accessing the tomcat URL with: https://localhost:8443/manager/html It works fine. But when I try to run it with my ...
1
vote
1answer
220 views

If I have user/host pair “root@<MyMachineName>”, is it necessary to keep “root@localhost” in the mysql host/users table? (multi-part Q)

On computer "dexwin10", the user@host pair is as follows: root@dexwin10 root@% root@localhost When people install our software, we want them to be able to access the database from computers ...
1
vote
2answers
387 views

MDNS response “storm” with “localhost_prl: 127.0.0.1”

We are experiencing occasional performance problems in our WIFI. With Wireshark I see a high number (currently 50/s) of MDNS responses for localhost_prl:127.0.0.1. I don't think that this is normal. ...

1
2 3 4 5
11