Questions tagged [localhost]

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

localhost (all lowercase) (meaning this computer in computer networking) and is the standard hostname given to the loopback network interface.

IPv4

Under IPv4 the standard localhost address is normally assigned to:

127.0.0.1

IPv6

In full notation, the address under IPv6 is:

0:0:0:0:0:0:0:1
549 questions
0
votes
1 answer

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.sock; } server { server_name localhost; …
M Sh
  • 1
  • 1
0
votes
1 answer

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 with 127.0.0.1: # Allow any user on the local system…
TheCooocy
  • 141
  • 6
0
votes
1 answer

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{ listen 80; location / { root…
0
votes
0 answers

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 by having its only Binding being set to…
Arkiliknam
  • 111
  • 5
0
votes
1 answer

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 couldn't proceed with it. I also searched for the…
Joel Deleep
  • 145
  • 1
  • 1
  • 8
0
votes
1 answer

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.com/docker/for-mac/issues/3611 All of them resulted…
dtracers
  • 101
  • 2
0
votes
1 answer

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://90342809.compute-1.amazonaws.com/; location /…
0
votes
0 answers

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: angies2020-unix-server local: cis4335.local Attaching a…
0
votes
1 answer

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 the application/tomcat server running on…
Maurice
  • 127
  • 6
0
votes
1 answer

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 rules, dns rules, or some other option, in order…
Njord
  • 3
  • 1
  • 2
0
votes
2 answers

.htaccess file not being read on localhost

My live site reads the .htaccess fine. I got 404.php and mod_rewrite working fine there, but on my localhost... nothing. PHPmyAdmin 3.1.5 PHP 5.2.9-2 Apache 2.2 My .htaccess is this: ErrorDocument 404 /404.php Options…
Bryan
  • 111
  • 1
  • 1
  • 2
0
votes
1 answer

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 that was because of corporate CA SSL certs).…
jcubic
  • 230
  • 1
  • 4
  • 15
0
votes
1 answer

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 on my server by FileZilla and have as well uploaded…
0
votes
0 answers

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 requires a port on its settings(port 11211 for…
Mojtaba Rezaeian
  • 451
  • 5
  • 14
0
votes
1 answer

http://localhost redirects to an external website

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 from localhost to an external website. /etc/hosts…
jlanssie
  • 21
  • 2
  • 7