Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

1
vote
1answer
61 views

Cannot access local server with IP address while localhost and 127.0.0.1 can

I am trying to let other computers to access my local server but I tried myself locally that I cannot access it locally even myself. Several things you should know: My target Visit my server via ...
0
votes
0answers
19 views

Ubuntu 18.04 random frequent freezes suddenly after removing postgresql from assigned port to let docker use that port

I recently tried a repo on GitHub. For the app to work I had to install docker but when I ran it showed PostgreSQL using that port. So after googling and lot, I removed PostgreSQL from that port and ...
27
votes
7answers
5k 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
0answers
12 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 ...
0
votes
0answers
23 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
0answers
11 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
1answer
79 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/...
0
votes
0answers
20 views

Cannot connect to locally hosted Gitea instance in Ubuntu 14.04 LTS

I recently had the notion of hosting my own git client (in my own network) just to have fun and learn. So I have an Intel Compute Stick with Ubuntu 14.04 LTS pre-installed (with only 1GB of memory). ...
0
votes
1answer
113 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
1answer
223 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
0answers
57 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
0answers
25 views

Trying to install packages and update system- yet system will not connect to localhost and/or download anything. Urgent! [duplicate]

Here's the log apt gave me. Err:1 http://security.ubuntu.com/ubuntu xenial-security InRelease Could not connect to localhost:80 (127.0.0.1). - connect (111: Connection refused) Err:2 http://us....
1
vote
1answer
426 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: ...
0
votes
0answers
22 views

“Networking” help with 14.04?

Some background: I have somewhat limited experience with Ubuntu or Linux as a whole. I've used it as a secondary workstation as my full-time job as projectionist. Part of the reason we have it is for ...
0
votes
1answer
386 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. ...
1
vote
1answer
2k views

PHP script not executing on Apache server. U-18.4 PHP 7.2 Localhost

My Apache is running and displays the Default Page. I can redirect a PHP file into php and the echo command displays properly. I've already researched previous versions of Ubuntu and can't find any ...
0
votes
0answers
25 views

How to run a website on my laptop (Ubuntu 18.04) [duplicate]

How should I run a web site on my laptop with Ubuntu 18.04 ? What programs should I install? If any config is needed, plz mention it. where should I copy the files of the web site? (which is sql-...
2
votes
1answer
770 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
1answer
35 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.
0
votes
0answers
119 views

telnet localhost 11125 connection closed

On my Ubuntu terminal when I connect to my machine with: telnet local host 11125 it says connection closed by foreign host. I am trying to setup my postfix with stunnel and ssmtp. On my /var/log/...
0
votes
0answers
25 views

How to create a web server in ubuntu ? using wordpress [duplicate]

How to create a web server in ubuntu ? using wordpress in ubuntu i have to create web server using LAMP with linking wordpress please help me...!
0
votes
0answers
25 views

php website open normal on windows xamp 3.2.2 but Too many redirects onubuntu server with plesk

when try to open the site on local host on windows with xampp no any problem enter image description here and all function work normal but when upload to Ubuntu server by plesk onyx 17.5.3 the home ...
1
vote
1answer
1k 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:...
0
votes
0answers
22 views

How to understand and set up rules for a server?

I'm new to servers and I've just turned a mac mini into an ubuntu 16.04 server nextcloud server, and I'm trying now to understand exactly how it works with rules, local and outer data transit. I ...
1
vote
0answers
212 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 ...
0
votes
0answers
98 views

Can't open folder inside my localhost

I'm new to Ubuntu and I spent hours dealing with this problem and still can't find answer. When I make files and folders everything works fine but when I clone repository from bitbucket to var/www/...
1
vote
2answers
403 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
1
vote
1answer
45 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 ...
3
votes
0answers
619 views

Shell In A Box - Session closed when trying to login

I am trying to use Shell In A Box which implements a web server that can export arbitrary command line tools to a web based terminal emulator. This emulator is accessible to any JavaScript and CSS ...
0
votes
1answer
1k 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
1answer
604 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 ...
0
votes
0answers
250 views

ssh -6 localhost/<ipv6 ip>?

I am trying to ssh to my IPv6 PC from my ISP side but I could not reach. So I tried it in my IPv6 PC as # ssh -6 localhost ssh: Could not resolve hostname localhost: No address associated with ...
0
votes
1answer
303 views

Wordpress; installed lamp, have localhost, but no login [duplicate]

I installed the AMP in LAMP (already on Ubuntu) for wordpress -- and upon the initial installation & completion I got the wordpress login page, logged in, saw the control panel & stuff; logged ...
0
votes
0answers
314 views

Issue with network services and 127.0.1.1

I have issues with services not attaching to the right IP and services on a small cluster of 4 servers. Right now, I have: 127.0.0.1 localhost 127.0.1.1 un.oplo.io un 10.0.100.82 deux....
0
votes
1answer
5k views

The requested URL / was not found on this server after setting up DVWA [closed]

I am setting up a DVWA environment and I want the directory and its files to be displayed on my browser. I have copied the DVWA files in the www folder and deleted all the files that were previously ...
1
vote
0answers
29 views

number of loopback addresses [duplicate]

I am following a networking course from udacity. In one of the tutorials, the professor says that loopback address is almost always 127.0.0.1 So, it means it can be other than 127.0.0.1. Can it be ...
0
votes
2answers
277 views

I Git Cloned a project into my localhost folder? Now what?

I have set up an apache2 server - localhost is all running fine and I have Git Cloned the Simple-PHP-Contact-Form project into my localhost (well Var/www/html) folder. Now the index.html folder works,...
1
vote
0answers
559 views

Xub 16.04 There was an error during the CUPS operation: 'failed to connect to server'

I have tried many many many things, uninstalled cups from command line, synaptic, software center, dozens of times. right now it shows as installed in all those places, and the most up to date. ...
2
votes
0answers
290 views

Localhost already in use (Pycharm and mongodb)

I've been creating a webapp from a course in PyCharm and using mongodb for the database. I was finishing it and executed "Run" in pycharm before running the server. Realizing my mistake I closed it, ...
1
vote
1answer
2k views

Why my /etc/hosts file is empty in Ubuntu?

In Ubuntu my /etc/hosts file is empty. It happened suddenly, i did not modify it and don't think any other program also modified it. How can this happen ? Now moreover I am not able to edit the /etc/...
1
vote
1answer
610 views

Need to Access Locally Hosted (Ubuntu VM) Website from Host Machine/Another Computer

So I created a wordpress site within my Ubuntu VM and I am locally hosting it there. I have followed every tutorial I can find online to no avail so I will try to be as thorough as possible in my ...
0
votes
0answers
348 views

I am trying to install utorrent in ubuntu 16.04

when i enter a localhost:8080/gui the appear a the following prompt windows. When i enter a adminadmin in **UserName** field and leave blank password field but failed the login process. How to solve ...
0
votes
1answer
741 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 ...
2
votes
1answer
1k views

“ssh localhost ” command is showing 20 bad configuration options

hduser1@archit-HP-Notebook:~$ ssh localhost /etc/ssh/ssh_config: line 11: Bad configuration option: hostkey /etc/ssh/ssh_config: line 12: Bad configuration option: hostkey /etc/ssh/ssh_config: line 13:...
0
votes
1answer
1k views

How to define localhost IP as 10.0.2.2?

On my Ubuntu PC, I need to use 10.0.2.2 instead of 127.0.0.1 to be able to let Android emulator to connect to web server running on localhost. So wondering how can I define the new IP? I edited /etc/...
0
votes
1answer
60 views

Set up apache2 authentication but not for some page

I want to set up apache2 authentication for http://127.0.0.1/ but not for http://127.0.0.1/phpmyadmin. Is it possible? This is my current 000-default.conf setting for authentication: <Directory "/...
1
vote
0answers
83 views

Unable to connect to any services via 127.0.0.1

I logged into a 16.04 server we hadn't touched for months, did an apt-get upgrade and rebooted it. Now unable to reach anything via 127.0.0.1, e.g. $ telnet 127.0.0.1 3308 Trying 127.0.0.1... telnet:...
1
vote
2answers
59k views

How to fix error 'This site can’t be reached. Took too long to respond' for a service on an Ubuntu server?

How to fix error 'This site can’t be reached. Took too long to respond' for a service on an Ubuntu server? ERR_CONNECTION_TIMED_OUT I SSH into a remote Ubuntu virtual machine and I want to open http:...
0
votes
0answers
3k views

Failed to connect to localhost port 8090: Connection refused

I SSH into a remote Ubuntu virtual machine and tried to load some data using the following command: $ curl -X 'POST' -H 'Content-Type:application/json' -d @quickstart/wikiticker-index.json localhost:...
0
votes
1answer
442 views

Running a local website without localhost

I'm developing some frontend Javascript code for the first time on Ubuntu. I have the code (written over the last year by others) for the site installed and ready to run. But on this Ubuntu machine ...