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
537 questions
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
  • 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
  • 14
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
  • 311
  • 3
  • 12
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
  • 11
  • 1
  • 4
-1
votes
1 answer

Is it Safe to open a liveserver on localhost:8080 for my website on public wifi?

Like mentioned in the title I want to work on my website in a Starbucks with Public wifi is there any risk of running a live server on public wifi?
Hanker00
  • 1
  • 2
-1
votes
1 answer

What happens to sent emails from localhost without internet connection?

we're building a webshop that will serve as a kiosk on a fair. The fair visitors stop by and order some things at the shop. We'll have some Tablets where the visitors can shop through our kiosk and order some stuff. Hardware: we'll have a local…
propz
  • 1
  • 1
-1
votes
1 answer

Test ansible role on localhost

How can you test(-run) an ansible role on your localhost? So far I have done this on my ubuntu 16.04 machine: $ sudo apt-get update $ sudo apt-get install software-properties-common $ sudo apt-add-repository ppa:ansible/ansible $ sudo apt-get…
user1511417
  • 131
  • 2
  • 6
-1
votes
1 answer

Why do the port change when sending TCP data on localhost

I'm new to network programming and I'm starting simple. I got 2 simple python scripts both running on my machine, a server and a client, the client sends some data using the port 80 and the server listens on the port 80 and prints the data and…
Issam
  • 1
  • 4
-1
votes
1 answer

Unable to ssh localhost without password despite proper perms, key in authorized_keys

I have a key ~/.ssh/id_rsa and I added the pub key to my authorized keys: cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys I also changed my permissions to 600: sudo chmod 600 ~/.ssh/authorized_keys I checked and /etc/ssh/sshd_config is set for…
Don Rhummy
  • 403
  • 4
  • 8
  • 15
-1
votes
1 answer

How to backup database on localhost when cannot connect to MySQL?

I'm having 'HY000/2002): connection refused' issue with Lampp on Linux Mint on localhost. It just started to act this way with no known reason. I've spent hours to fix the problem, no solution yet. So I decided to backup my databases, and re-install…
Farkas
  • 1
  • 1
-1
votes
1 answer

Conflict with Chrome and RFC2606

RFC2606 states the following for the "localhost" tld: The ".localhost" TLD has traditionally been statically defined in host DNS implementations as having an A record pointing to the loop back IP address and is reserved for such use. Any other…
cyclobster
  • 103
  • 1
-1
votes
1 answer

Linux: setup development localhost editable environment (permissions issue)

I have an Ubuntu distribution with a localhost setup in /var/www/html/mysite working properly. The problem I have is, when I edit files in this folder, I must do as root or www-data which is not completely ok, as I have to run every mkdir with sudo…
user761076
  • 199
  • 1
  • 1
  • 10
-1
votes
1 answer

bad localhost resolution on linux

$ dig @127.0.0.1 localhost $ dig @127.0.0.1 localhost. ;localhost. IN A ;; ANSWER SECTION: localhost. 604800 IN A 127.0.0.1 ;; AUTHORITY SECTION: localhost. 604800 IN NS localhost. ;; ADDITIONAL SECTION: localhost. …
-1
votes
1 answer

Too large 127.0.0.1 connections with nginx - apache2

I use nginx as proxy-server apache2 and I have a problem with netstat output: $ netstat -ntu | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n 5 109.195.36.169 6 109.195.33.205 8 194.190.59.4 14 83.246.143.75 19 109.195.33.201 725…
Sundved
  • 3
  • 2