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
1
vote
5 answers

virtual host settings fail on multiple sites

Edited (again): I thought that an apache2 installation on my ubuntu os (personal) would enable me to "host" websites internally - without going onto the web. I am realizing now that the two domains that "work" are actually registered domain names,…
Ricalsin
  • 178
  • 2
  • 9
1
vote
1 answer

Wildcard dns as subdomain in localhost using apache

i am developing a web application in Zend Framework running in apache server (xampp). The site can actually be accessed by http://localhost/sitename . It is present in c:/xampp/htdocs/sitename/ I wanted to create wildcard dns so a specific user can…
1
vote
0 answers

Access a host server running on localhost from a guest VM? (XP-Mode)

I have a weblogic server running on localhost, and I'd like to connect to it from an XP-mode virtual machine without much hassle. It isn't accessible via its IP, so I've been trying to get the XP-mode instance to somehow connect directly to the…
Stefan Kendall
  • 1,079
  • 3
  • 17
  • 33
1
vote
2 answers

How to configure apache to allow access to subdomain on my local ip address

I would like to have others inside my local network access resources on my computer at outsideprojects.192.168.0.10. I am running Apache and have a virtual host configured so I can access it at outsideprojects.localhost but can't seem to be able to…
Icode4food
  • 175
  • 1
  • 2
  • 13
1
vote
1 answer

Localhost subdomains with Bind9

So, following this question here and a number of other questions about subdomains on localhost, we learned that /etc/hosts isn't capable of handling wildcard routes and we need a DNS system. Ok, I have installed Bind9 on my machine (Ubuntu). Now,…
Dziamid
  • 129
  • 3
1
vote
2 answers

How do I allow access to my localhost (xampp) installation over my windows network?

I have just installed a fresh xampp stack on my machine, and can access it from localhost, my pc name, and ip address. There is nothing on it yet, but getting the welcome page fine. I seem to remember in the past that other users could access my…
slugmandrew
  • 113
  • 1
  • 5
1
vote
3 answers

How to get local webserver to my external ip

Problem: I am trying to run a webserver from my computer. I see the request getting to the server, but am unable to see the page on the browser due to a "Errno 10054: An existing connection was forcibly closed by remote host" in my server logs.…
Derek Kwok
  • 113
  • 5
1
vote
2 answers

Localhost not recognized

For some reason my localhost is not recognized. I have this in my hosts file as I've always had: 127.0.0.1 localhost ::1 localhost I did do a flushdns, not sure if that caused it. Then I tried a /registerdns in the command…
WeDoTDD.com
  • 245
  • 2
  • 5
  • 14
1
vote
3 answers

Fake domain doesn't resolve when offline

I have a flimsy grasp of DNS. Nonetheless, in order to install a local development copy of Wordpress MU, I needed to create a fake domain, which I called local.dev. It and all subdomains simply resolve to 127.0.0.1. Apache then directs to the…
Fletcher Moore
  • 123
  • 1
  • 7
1
vote
1 answer

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 nginx, with redirects from http: to https:). In…
Walt Stoneburner
  • 173
  • 1
  • 1
  • 9
1
vote
0 answers

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 settings thanks to $_SERVER['REQUEST_URI']) What I have now…
mikakun
  • 111
  • 5
1
vote
2 answers

How to exclude local traffic from AWStats reports?

I have AWStats configured to run on my website, but I would like it to exclude hits coming from myself (localhost) that are seen as originating from these ip addresses: 127.0.0.1 192.168.0.1 How can I configure this?
WilliamKF
  • 215
  • 1
  • 7
  • 12
1
vote
1 answer

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 using nginx? I have tried using proxy_pass in a…
1
vote
1 answer

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 mariaDB allows local root to log in when host equals to…
mpr
  • 11
  • 2
1
vote
1 answer

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 websocat ws://127.0.0.1:8083 What is the setup I…
q0987
  • 81
  • 6