Questions tagged [localhost]

Questions related to localhost, loopback. On most computer systems, localhost resolves to the address 127.0.0.1, which is the most-commonly used IPv4 loopback address, and to the IPv6 loopback address ::1.

Filter by
Sorted by
Tagged with
0 votes
0 answers
11 views

Forward different external IP addresses to different localhost:ports on a local machine

We are spinning a nodejs server that emulates a machine's API on Ubuntu Linux. The objective is to be able to connect to i.e. 10.0.0.5:4028 and this should connect to localhost:4020, 10.0.0.6:4028 ...
user avatar
0 votes
0 answers
35 views

get 404 error for local web server

I installed Apache also make sub directory under www like /www/azolfagharj make azolfagharj.conf like this <VirtualHost *:80> ServerAdmin webmaster@localhost DocumentRoot /var/www/azolfagharj ...
user avatar
0 votes
0 answers
42 views

Command "host 127.0.0.1" does not return localhost on Ubuntu 20.04

Command "host 127.0.0.1" does not return localhost on Ubuntu 20.04. Is it possible to have it return localhost like it does in Ubuntu 18.04? We've got some tests that require this to work ...
user avatar
0 votes
0 answers
23 views

How do you log in to a local account on a domain joined Ubuntu 20.04

We had a need to start joining some of our Ubuntu vms to AD. I default to login to the local domain. When I have an issue with getting on the machine I have a need to use the local admin account. How ...
user avatar
0 votes
0 answers
234 views

How do I connect from my multipass guest OS to my host OS's localhost

I have two websites running locally on my system which need to access each other. One is within a multipass vm, and the other is in docker and accessible via localhost in my host OS. In the site in ...
user avatar
2 votes
1 answer
948 views

`sudo visudo /etc/hosts` gives syntax errors

Really dumb question, Ubuntu 20, and I have apache2 installed, not much else. I go sudo visudo /etc/hosts and want to add an alias "dummy.com" domain alias as a hack to point to the server ...
user avatar
  • 167
1 vote
1 answer
26 views

Configure local dev env with alias for wp dev

I know this people have gone over this a thousand times, but I simply can't get my browser to resolve to 127.0.0.1 when I type in my domain name. I'm developing a WP site locally. Getting to it by ...
user avatar
0 votes
1 answer
108 views

Localhost (wordpress) works, but static IP and domain name does not show anything

I am a first-timer with this stuff. I have a new Ubuntu server. I have PostFix and SSH working. I have installed Wordpress (Lamp stack, apache2, and MariaDB). I also installed NextCloud and ...
user avatar
0 votes
0 answers
36 views

connect to openab and zoneminder on the same server

On my ubuntu 20.04 server, I want to connect (binding) from openhab to zoneminder. Openhab and zoneminder are on the same server. From a virtual box in my LAN, I can connect openhab to zoneminder, but ...
user avatar
  • 1
0 votes
0 answers
86 views

mysql server not connecting in command line

When I try to connect to my local MySQL installation on Ubuntu 21.04, I receive the following error: ERROR 1045 (28000): Access denied for user 'nishant'@'localhost' (using password: YES) If I don't ...
user avatar
0 votes
0 answers
82 views

host name in local network Kodi media server installed on Ubuntu 21.04 desktop amd64

howto allow mobile devices connected to local network to open the Kodi media server with ip 192.168.0.2:8080 by typing media.tv or any name instead of entering the IP address
user avatar
0 votes
0 answers
22 views

not able to access my local host using system IP

My target my server via http://10.12.135.57:2828/ What I can do now I can access my server via these two ways: http://localhost:2828 http://127.0.0.1:2828 IP configuration Result of ifconfig | grep ...
user avatar
0 votes
2 answers
153 views

Alternate name for localhost not working

I tried using an alternate name for localhost. 127.0.0.1 localhost test.dev This doesn't show apache2 page when I use test.dev but works when I type localhost. Also I tired using 127.0.0.1 ...
user avatar
0 votes
2 answers
48 views

Trying to find the physical location of a localhost address

A chap set up some files for me under localhost and I am trying to find out where they are exactly. Ubuntu 18.4 By this I mean within Ubuntu /var/www/vhosts/mysite/ there is an external facing php ...
user avatar
0 votes
0 answers
136 views

Forward terminal output to localhost port

I am new to tcp. Suppose I have a command to run on terminal that prints output line by line. How do I forward that output to a localhost port so that I can read it with other apps written in Python. ...
user avatar
1 vote
0 answers
115 views

how to fix 'Your connection is not private' error on ubuntu 20.04

when i run https://localhost:5001/ , chrome shows this error "Your connection is not private Attackers might be trying to steal your information from localhost (for example, passwords, messages ...
user avatar
  • 11
0 votes
0 answers
176 views

How to connect ubuntu to my iTerm on Mac through iterm

Hope you find my question fine. I am new here, so please don't judge me that much. I am trying to connect to my ubuntu to my iTerm on Mac, both application is on my laptop, I inputed command in ...
user avatar
  • 1
2 votes
1 answer
1k views

Not Found The requested URL was not found on this server

This is how my virtual hosts the-square.local.conf looks: <VirtualHost *:80> # The ServerName directive sets the request scheme, hostname and port t> # the server uses to identify itself. ...
user avatar
0 votes
1 answer
83 views

Moving localhost to new directory: 403 Error with permissions set

I had my apache localhost set up and working in /home/x/Documents/Sites, but I wanted to move the Sites folder into my Dropbox folder in order to keep it backed up. I moved the Sites folder from /home/...
user avatar
  • 1
0 votes
0 answers
329 views

Access multiple websites configured in apache in localhost

On my Raspberry Pi 3+ I followed the instructions to install and configure apache, and now I can view: Default apache configuration on localhost, and GCI webpage on gci.example.com Configuration ...
user avatar
  • 113
1 vote
0 answers
32 views

try reaching local network IP and the wrong IP always comes up

Ubuntu 20.04 - VirtualBox 6.1.18 The kernel was 5.6 and now updated to 5.11 - that update didn't help fix this. I'm using bridged mode Network setup When using ip a I see: 1: lo: <LOOPBACK,UP,...
user avatar
0 votes
0 answers
81 views

postfix error connection

my postfix not connect in the lan just localhost and local ip address: In the postfix server: :/etc/postfix$ telnet 172.28.204.36 25 Trying 172.28.204.36... Connected to 172.28.204.36. Escape ...
user avatar
1 vote
1 answer
416 views

Installing Ubuntu Kubernates 1.20 on localhost -> Documentation lead to error -> Waiting for 3 kube-system pods to start

I was created fresh Ubuntu 20.03 on VirtualBox than started installation using documentation. Machine have Quadro RTX Card (maybe it impacts?). Documentation is messy because there is many ways to do -...
user avatar
  • 111
0 votes
1 answer
41 views

Docker Web server on a secondary local IP

I have a Linux server running Ubuntu with a web server on my local IP (port 80) and I would like to set up a secondary local IP with a Docker web server on port 80. Is that possible?
user avatar
0 votes
2 answers
797 views

printer problem ubuntu 20.04 localhost not available, remove ippusbxd?

Canon MF232w works with my mac, want to use it alone via usb with my HP desktop. Installed canon MF230 series linux driver 3 times in 20.04 LTS on my HP desktop that has printed with my just defunct ...
user avatar
1 vote
0 answers
72 views

How to configure Latex Ubuntu18.04 for tcexam

So, i installed tcexam in localhost. I tried to made test for students. But, when i write mathematic formula with Latex, i got Can anyone help me to resolve this?
user avatar
0 votes
1 answer
1k views

What should I do if all my PHP pages come out blank with Apache2?

Here's My Problem Recently I purged all LAMP packages because I couldn't make virtual hosts work with my local wordpress installation. But then even after installing all the packages, PHP pages simply ...
user avatar
  • 13
0 votes
1 answer
117 views

Unable to connect LAMP

I have Ubuntu 18.04, Apache, MySQL and PHP7.4 in my local environment and I have been setting up various projects locally in both Laravel and WordPress. I haven't done this in over a year since I have ...
user avatar
0 votes
2 answers
812 views

Firefox/Chrome, how to whitelist localhost and wikipedia.org?

On Firefox and Chrome, how do I allow the local network and Wikipedia (localhost, 192.168.1.*, *.wikipedia.org, etc) but block everything else? A whitelist essentially. I still however want other ...
user avatar
1 vote
0 answers
62 views

Local DNS cache keeps reverting A record after clearing

I wish to clear my local DNS cache so that I can access a server via a domain name which has recently had its DNS A record changed. For illustration purposes, lets assume the following: Domain: ...
user avatar
0 votes
1 answer
242 views

Can't access localhost website

I have an owncloud server hosted on a virtual machine. I've been accessing it fine via My PC on the same network until randomly today this isn't working. I just get the error "This site cannot be ...
user avatar
1 vote
1 answer
318 views

How to stop app rstudio loading on localhost:8787

(Tag recommendations welcome, I do not know how to properly categorise or tag my issue) Ubuntu 18.04. I have a mystery. When I visit localhost:8787 I am taken to the rstudio login screen: I do not ...
user avatar
  • 205
0 votes
1 answer
2k views

phpmyadmin : Running Firefox as root in a regular user's session is not supported

I'm trying to use phpmyadmin to install a website locally (already downloaded it, now I need to set the database). I have installed xampp (lampp) and everything seemed to work fine. But when I try to &...
user avatar
  • 1
0 votes
1 answer
62 views

Ubuntu 16.04 apache conf file issue

Today I found that my existing apache.conf file rename to apache.conf.dpkg-old and generate a new apache.conf file in /etc/apache folder. what is the reason?
user avatar
0 votes
1 answer
78 views

Rice and Java.io.IOException: Unexpected status code: 404 Help appreciated

I tried to use ./synthesize.sh for Bayou on Ubuntu. Help is very much appreciated, thank you! Ubuntu Version = 18.04 Installations = TensorFlow, sci-kit learn, flask, SDK java, and python 3 virtual-...
user avatar
0 votes
1 answer
52 views

Datastax studio not working

I followed this link to install datastax studio. I have the right Java version also: java -version java version "1.8.0_181" But still the datastax studio is not rendering anything on ...
user avatar
  • 3,739
1 vote
1 answer
580 views

Firefox 78.0.1 does not connect to Django development server running at localhost:8000

Firefox was working ok to browse localhost:8000 on a development machine running Django development server. However, it suddenly stops working (perhaps after a nightly update). The Django server is ...
user avatar
0 votes
1 answer
187 views

Why would Ubuntu treat NXDOMAIN as resolving to localhost?

Every time I should be getting an error because a domain does not exist (e.g. could not resolve host), I instead get an error about connecting to a loopback address: $ curl -4 -v https://nonexist....
user avatar
  • 2,158
0 votes
1 answer
333 views

syntax error, unexpected 'DB_PASSWORD' (T_STRING), expecting ')' in /etc/wordpress/config-localhost.php on line 4 [closed]

I have received this error message in the log file /var/log/apache2/error.log syntax error, unexpected 'DB_PASSWORD' (T_STRING), expecting ')' in /etc/wordpress/config-localhost.php on line 4 ...
user avatar
  • 1
0 votes
0 answers
3k views

MySQL localhost connection refused

When I try to connect to localhost I get this error message [08001] Could not create connection to database server. Attempted reconnect 3 times. Giving up. java.net.ConnectException: Connection ...
user avatar
  • 1
0 votes
1 answer
99 views

Accessing virtual machine from local host

After logging onto the virtual machine though putty, I got Welcome to Ubuntu 16.04.6 LTS (GNU/Linux 4.15.0-91-generic x86_64) ... 80 packages can be updated. 0 updates are security updates However, ...
user avatar
1 vote
0 answers
123 views

Not able to assign ::1/128 to a different interface other than lo

When lo interface is created, it has 2 localhost addresses, 127.0.0.1/8 for IPV4 and ::1/128 for IPV6. I need to have the same localhost addresses on a different interface in a different VRF (...
user avatar
  • 11
0 votes
1 answer
214 views

how to disable wildcard subdomain in ubuntu 18.04 for localhost

Hello and thank you your time, I have Xampp 7.2.29 installed and it's working fine but i don't know why i can access any wildcard subdomain in localhost even i don't have created any in host file. ...
user avatar
0 votes
0 answers
2k views

local web server configuration error

Localhost won't load. I guess i have messed up some config file.apachestatus '''error.log [Sun Apr 05 13:08:09.331979 2020] [mpm_prefork:notice] [pid 1143] AH00163: Apache/2.4.29 (Ubuntu) configured -...
user avatar
  • 1
1 vote
1 answer
1k views

how to remove local from flywheel

I installed local from flywheel. It's not what I want, my little laptop is begging for mercy. How do I remove it? They have instructions for apple and windows, but not for ubuntu.
user avatar
  • 524
4 votes
1 answer
66k views

curl: (7) Failed to connect to localhost port 8080 Connection refused

I am trying to use this command to see the running status of my port, but I am getting this error in a loop. Kindlly help!
user avatar
1 vote
2 answers
885 views

How to connect to localhost of headless server (for Syncthing)

I was unable to use ssh pi@raspberrypi.local -L 8384:raspberrypi.local:8384 -N to connect to localhost:8384 when installing Syncthing. This was odd because I successfully connected to another ...
user avatar
  • 1,769
0 votes
1 answer
1k views

Port forward localhost - workaround

I need to access to my localhost from the Internet. I used to map my localhost to a port on my router and then to port forward it. But since I don't have the privileges to access my router, or at ...
user avatar
  • 81
0 votes
1 answer
6k views

Browsers can't access 127.0.0.1 but works from terminal

I'm using Ubuntu 19.10 and when I try to open 127.0.0.1 in Chrome I get the This site can’t be reached. 127.0.0.1 refused to connect. and the same happens under Firefox Unable to connect. Firefox ...
user avatar
  • 101
1 vote
0 answers
399 views

Problem of deploying all-in-one using Kolla tools

Currently, I was building an Ubuntu OS for openstack"rocky" for testing. I use kolla tools all-in-one instead of multinode. I pass all of the prechecks and bootstrap-servers steps, but when I type ...
user avatar
  • 11

1
2 3 4 5 6