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.
310
questions
1
vote
1
answer
13k
views
error message when using wget to Internet : Connecting to localhost (localhost)|::1|:8080... failed: Connection refused
when running:
wget https://gitlab.com/marsat/CTparental/uploads/35fd33508a49915869fa43820a7d2c36/ctparental_debian9_lighttpd_4.44.05-1.0_all.deb
Here is the result:
converted 'https://gitlab.com/...
4
votes
2
answers
7k
views
How to temporarily override a DNS setting for a certain domain name to point to localhost?
I need ubuntu to use a certain domain name to point to a localhost address temporarily. How could I confgure for that ?
1
vote
2
answers
6k
views
Can't access localhost from Android device for test API
I write my web services in Django, everything is OK when I test my API in postman (on http://127.0.0.1:8000/). But when I try to use Retrofit to connect http://192.168.43.115:8000 I cannot. This is ...
0
votes
0
answers
446
views
Ubuntu not resolving local domain
I have setup a wordpress blog on my raspberry pi. I can access it normally from my windows pc and mobile but the local domain is not resolving on ubuntu which I installed in virtualbox.
I tried to ...
1
vote
1
answer
2k
views
`hostname` result is different from "/etc/hostname" after upgrade
If I open a terminal windows in my graphical user interface, hostname command result is different from content of /etc/hostname:
me@ZyXEL1:~$ hostname
ZyXEL1
me@ZyXEL1:~$ cat /etc/hostname
N4010
me@...
1
vote
0
answers
979
views
Unable to access MySQL database in browser
I am accessing a database remotely. I can access the database through the terminal with user name and password but in the browser, it gives the following error message.
Cannot log in to the MySQL ...
5
votes
3
answers
40k
views
How do I set up FTP on localhost?
On my old machine (back on Lucid!) I used XAMPP for local dev work. XAMPP installed everything for you, including setting up FTP to your localhost (/var/www) directory, since permissions don't allow ...
1
vote
0
answers
1k
views
Ubuntu Server, Postfix, Localhost, Temporary Lookup Failure
I installed Ubuntu Server 18.04, installed Apache, MySQL, PhpMyAdmin, Postfix, Dovecot, Mailman, etc from the Ubuntu Server guide on Ubuntu Documentation website and I am getting this error when ...
0
votes
3
answers
10k
views
localhost/phpmyadmin is giving 404 error and http://localhost in thr url is not showing any file list
localhost/phpmyadmin is giving 404 error and http://localhost in thr url is not showing any file list.
I have changed the ServerName in every conf file. Actually it was just happened recently. I was ...
0
votes
1
answer
46
views
I was unable to install mysql in my ubuntu OS
I was following this guide to install mysql. Later it asked for password and since I was installing that time, I directly pressed enter as there was password. After that it was showing this error:
/...
2
votes
4
answers
3k
views
What does the L option of SSH do?
To make VNC secure, I am supposed to use this
ssh -L 5901:127.0.0.1:5901 [email protected]
from the client. Use 5901 if the server display is 1; use 5900 for display 0. This command was taken from a ...
198
votes
1
answer
401k
views
What is the loopback device and how do I use it?
What are loopback and localhost?
Why do they exist, what are they used for, and how would I use them?
4
votes
2
answers
13k
views
How to check what local server is installed in my machine?
How do I know if my machine (Ubuntu) is using some local server? Like wampp, xampp or lampp? And also how do I know my Ubuntu version something like that?
0
votes
1
answer
262
views
telnet on 16.04
I've got a system running xenial and I need to verify if particular ports are open for 127.0.0.1 so I decided to install telnet to simply try to connect on that particular port.
I've tried the ...
0
votes
0
answers
133
views
How to improve localhost performance on Ubuntu 18 on the Windows Subsystem for Linux
So, I have Ubuntu 18 installed on a Windows laptop. Generally, I've been happy with it, but recently the performance has really taken a hit. My localhost set up is a pretty vanilla Apache/Mysql and ...
0
votes
0
answers
59
views
I am trying install apache2 on my server (old computer) but getting error
I am trying to install apache2 on my server but getting failed to start the apache http server.
● apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; ...
1
vote
1
answer
2k
views
I can see forwarded port on canyouseeme website, but not on NMAP scan?
I have forwarded port 14444 using my routers configuration panel.
Here is the screen-cap:
Then I ran ncat using:
sudo ncat -k -l 192.168.15.42 14444
https://www.canyouseeme.org/ says "Success: ...
0
votes
0
answers
412
views
Does metasploit works on localhost?
I installed Metasploit community edition on my local machine and tried to exploit my own localhost with auxiliary/admin/mysql/mysql_sql module.
I also provided my mysql credentials and when I run ...
1
vote
1
answer
3k
views
Running multiple sites Nginx on Ubuntu 18.04
I'm beginner with Nginx (also using PHP 7.2) and I have no idea how to access multiple sites using separated folders.
So as default folder I set /home/user/php;.
There I have few folders named: ...
4
votes
3
answers
23k
views
500 Error on index.php file
I have found a question very similar to this, which I thought would solve my problem.
However, after changing my .htaccess file, with index.php on the end of the list, and then index.php as the only ...
1
vote
0
answers
1k
views
How to transfer files from remote server to local server
On the client side, I am using a NanoPi which is connected to a local network. And my server is connected to a global IP.
My application demands transfer of some files from the server to the nano pi.
...
1
vote
1
answer
969
views
DNS resolving of localhost subdomains stopped working after resolvconf update
For years I'm using Ubuntu (currently on 18.10) to develop PHP applications on domains like foo.bar.localhost for local testing. These domains were resolved to 127.0.0.1 and handled by Apache 2.4. ...
0
votes
1
answer
292
views
PhpMyAdmin page problem
I installed apache2, mysql, php, and phpmyadmin. Everything works well but I got this problem in phpmyadmin and I can't understand why.
1
vote
1
answer
1k
views
Setting up Apache2 VirtualHost to run multiple sites locally Ubuntu 16.04
I have had a site I was working on running in /var/www/html for a while. I'm starting a new project and would like to run another site locally.
After some googling, I was checking out this previous ...
0
votes
0
answers
215
views
LAMP fully installed but MySQL is not working
I've installed LAMP on Ubuntu 18.04 by following this link. Now when I entered localhost on my browser then it showed Apache2 successfully working UI. But when I tried localhost/phpmyadmin, it showed ...
2
votes
2
answers
1k
views
Ubuntu is trying to resolve local IP addresses
I run into a big problem on my project yesterday.
I have a local server which I connect to through websockets. Everything works fine.
The next step of the project was to use it when the network wasn'...
26
votes
2
answers
93k
views
access webpage through ssh
I need to access the IEEE xplore, but I don't have right to download out of institute.
I can login into the server of institute via ssh,
so How can I access IEEE xplore through institute server via ...
0
votes
2
answers
3k
views
django - how to change localhost from 127.0.0.1 to 127.0.0.1:8000?
I'm using Wagtail cms on django framework, problem is localhost address, I want to access to the site running in 127.0.0.1:8000 by localhost?
I tried hosts file, but no luck !
10
votes
3
answers
22k
views
Deluge daemon connection?
My deluge-console is suddenly giving me this error
Failed to connect to 127.0.0.1:58846 with reason: Connection refused
why is this error.I have done nothing and the GUI deluge runs fine.Its the ...
66
votes
7
answers
105k
views
How do I set up the simplest HTTP local server? [duplicate]
I use the R Studio IDE to do many things, one of which is to serve local websites utilizing the blogdown package which is a fork of hugo. I write the code in R Studio and preview the site utilizing ...
0
votes
0
answers
39
views
Automatic style adding to every html, Apache2 Ubuntu 18.10
I got little curious problem. In every html I create and add path to apache will system add automatically style into my (vis picture). What is more surprising that other css external files stop ...
1
vote
0
answers
566
views
Error while trying to connect via SSH
After running the command:
ssh -p 8101 karaf@localhost
I am getting an error:
ssh_exchange_identification: Connection closed by remote host
How should I proceed?
1
vote
1
answer
2k
views
How can I create a local DNS that is seen from other computers on my local network?
I'm trying to create a local DNS on my computer so I can access it locally with a DNS address instead of an IP. The first thing that I did was to configure my hostname on the files /etc/hosts and /etc/...
1
vote
0
answers
21
views
localhost error [duplicate]
I changed ISP. My internet works fine, but I get this error when I run a sudo command in terminal:
sudo: unable to resolve host localhost.localdomain
How do I fix this error?
1
vote
1
answer
2k
views
netbeans missing native build tools
My Goal
I want to have a fully functioning NetBeans C/C++ on my ubuntu 18.04
A small background
The first problem I've encountered was
build host not connected
after a little research I've ...
0
votes
1
answer
1k
views
Ubuntu 18.04 LTS: Slow down on localhost after recent update
I have been developing a network enabled application and been testing it on 127.0.0.1 (localhost). The application is completely memory bound, i.e. it never touches the hard disk.
The procedure of ...
0
votes
0
answers
211
views
Access Apache2 localhost on Virtual Machine
I am currently developing a website along with an android mobile application and I am using Genymotion to test the application but when running the application and it is trying to make a connection, ...
0
votes
1
answer
1k
views
Xampp vs. Lamp Localhost Install
I originally installed Xampp for my localhost needs. I uninstalled it and installed LAMP. I have been trying to work on my WordPress business site since then but keep running into problem I can't ...
0
votes
1
answer
2k
views
Accesing localhost via IP from another computer Ubuntu
I'm running localhost server using xampp on Ubuntu. I'm successfully connecting with host using its Ip address from other devices. Problem is starting to appear when i'm trying to access wordpress. ...
3
votes
3
answers
35k
views
ssh connection closes after successful login
I am trying to run ssh on my computer so I can control it with my android phone. When I scan my local network with overlook fing at my phone I get that my computer is running ssh at port 22. So I try ...
1
vote
2
answers
870
views
sudo: unable to resolve host legend27
I am new to this and need help I got this error and need step by step instructions
sudo: unable to resolve host legend27
I am running Ubuntu 16.04
4
votes
1
answer
14k
views
sudo apt-get update : Could not connect to localhost:9999 (127.0.0.1). - connect (111: Connection refused)
turtlebot@turtlebot-bot:~$ sudo apt-get update
Err:1 http://ports.ubuntu.com xenial InRelease Could not connect to localhost:9999 (127.0.0.1). - connect (111: Connection refused)
Err:2 http://ports....
0
votes
1
answer
250
views
How to restrict xtightvncserver to listen only to localhost connections?
I have installed xtightvncserver on a Ubuntu 16.04 server. I only want to listen to connections from localhost.
11
votes
1
answer
7k
views
How to set up localhost to redirect a website
I am asking this question from an awkward situation. As you may know or not know, Google is blocked in China. A discouraging consequence (at least to me) is that visiting Stack Exchange sites, like ...
11
votes
3
answers
82k
views
Can't SSH localhost
I can't SSH localhost. I have installed OpenSSH server as well on my Ubuntu 12.04 LTS (32 bit).
connected to net (ip : 192.168.1.2)
installed hadoop, running hadoop for local machine.
Here's what I ...
1
vote
1
answer
8k
views
Error while copying file to HDFS in hadoop ecosystem
While issuing a command to copy file from Local File system to HDFS on terminal in Hadoop 3.0, it shows error
hadoop-3.0.0/hadoop2_data/hdfs/datanode': No such file or directory:
`hdfs://localhost:...
1
vote
0
answers
389
views
Web browser that can be installed on command line ubuntu 16.4
I have successfully installed & tested Command line Ubuntu 16.4 on my laptop. I'm now setting up Apache2 server(downloaded while installing Ubuntu installation). I have configured the necessary ...
1
vote
1
answer
190
views
How to limit localhost to local browsers?
I have created a C++ server for a local use.
It does not have authentication system.
The problem is other computers can easily connect to this server by my IP and port.
How can I limit this server ...
0
votes
1
answer
4k
views
Chrome localhost does not work
I have changed my hostname as "wp.dev"
host image that I change my host address
But when I type wp.dev on the address bar, and press enter then I show an issue like as screenshot. please help me.
...
0
votes
1
answer
2k
views
How to reconfigure not fully installed MySQL?
Maybe I made a bad mistake when installed MySQL and end up like this.
THE PROBLEM
MySQL package are not fully installed.this is what I got
sudo service mysql start does nothing
mysql -u root output ...