Questions tagged [localhost]

In computer networking, localhost (meaning this computer) is the standard hostname given to the address of the loopback network interface.

0
votes
1answer
3 views

How to solve “localhost refused the connection” error?

I set up a web page on my localhost. I created it using SimpleHTTPServer: python -m http.server 8000 It works on Chrome on my PC, but when I try it on Chrome Mobile on a smartphone I keep getting ...
0
votes
0answers
8 views

How to enable Virtual Host on Xampp for Laravel 5.8

I have problem with creating virtual host. I am using Windows 7 x64 Professional. When i try click on any admin menu dashboard got this error: Object not found! The requested URL was not found on this ...
-1
votes
0answers
21 views

How can I address my emulator to my localhost with my IP address?

I am trying NativeScript, but it seems I must address the emulator to the localhost with something like this: http://192.168.1.5:3000. But this doesn't work and also when I test it in my browser doesn'...
0
votes
0answers
23 views

.NET core app deploy to local IIS, 500.19

I am trying deploy a net Core webApi in IIS. I have IIS configured as seen in the images, but is not running the WEBAPI. I get error 500.19 as it is also seen in the images. On that same computer I ...
0
votes
0answers
5 views

Tunnel a pc connected to localhost

My college has a localhost which is accessible only on LAN is it possible to tunnel one of the connected pc to access the localhost?
-1
votes
0answers
10 views

warning in the browser about your db name [duplicate]

i installed xampp turned on apache and mysql. pasted a 'phpproject' in htdocs folder. went to the browser and entered --->http://localhost/phpproject/ got the warnings in browser --->Warning: ...
0
votes
1answer
19 views

NPM run serve is showing old state of my vuejs project on localhost

npm run serve is showing an old state of my vue-cli project on localhost but not the actual one on the network address I have tried to restart the npm run serve command but it didn't help This is ...
-2
votes
0answers
29 views

Unable to connect localhost user root [on hold]

I am getting this error when i tried to run Sql query in MySQL workbench ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES) I want to import the database
0
votes
1answer
37 views

connecting to the vapor server running on Mac using iPhone

I have a web app developed using server side swift vapor 3 running locally on my Mac. I want to access it using my iPhone on the same wifi as my Mac. How can I do that. I tried using http://<the ip ...
0
votes
0answers
26 views

Docker compose services not accessible from localhost

I have the following docker-compose file: version: '3.6' services: mysql: image: mysql:5.7 volumes: - "${DOCKER_VOLUMES_PATH}/mysql:/var/lib/mysql:cached" ...
-1
votes
1answer
40 views

Fatal error: Call to a member function get() on null in C:\appserv\www\Cocolani\php\req\register.php on line 4

I'm still a beginner programmer , so I hope you give the solution step by step. I'm trying to make a private server for a flash game and i have a problem that I don't know how can I solve it at all . ...
0
votes
1answer
21 views

Xampp doesn't reload changes when files get updated

When I copy live opencart website to the local xampp, can't show any updates I had a working local copy on my localhost, but I needed to get the most updated copy from the live site. So I copied the ...
0
votes
0answers
20 views

How can I make a localhost address be usable by other devices on the network?

I've created a simple web server by using the code from this website https://codehosting.net/blog/BlogEngine/post/Simple-C-Web-Server Now, I need to be able to access the web server from other ...
2
votes
0answers
37 views

WebRTC Connection on localhost without an internet connection

I'm trying to create a RTCPeerConnection between a camera-service written in Python with aiortc and a web front-end in javascript without an internet connection. The camera-service accesses the usb-...
-2
votes
0answers
8 views

How can I troubleshoot localhost on my CentOS 7 machine?

I have a centOS 7 virtual machine.I have local Jenkins instance running on http://localhost:8080. The problem is that after a system restart, I am unable to connect to localhost on my browser. I can ...
0
votes
0answers
5 views

How to configure the cloud server to access its localhost website using server IP and Port

I got a cloud server and a website is running there in localhost on server, I want to access the website from outside the server using server's IP and port. any links or help is required and thanks in ...
0
votes
1answer
14 views

How to get IOS app to trust localhost for development API

Using Visual Studio for Mac, I've created a RESFUL API (developed from API project template), which out of the box outputs a very simple JSON file (i.e. ["value1","value2"]) at the following url: ...
0
votes
1answer
20 views

How to show a preview of user submitted website in an iframe or localhost?

I have been trying to figure out how to display code submitted by a user (html, css, javascript) on my Django website. I can get a single page application to show up in an iframe just fine, such as ...
1
vote
1answer
19 views

Chrome/mium & Brave browser does not recognize any other .locahost subdomain in an Ip ouside 127.0.0.1

As seen in this question google chrome and any cromium-based browser (Brave Browser, Chromium) will enforce any .localhost subdomain to be in 127.0.0.1 and it will ingore any entry in /etc/hosts file. ...
0
votes
0answers
26 views

localhost:3000 showing no response

I just started nodejs and followed the steps to show text on loalhost:3000 but when i proceed with nodemon server.js on command line, its showing no response. This page isn’t working localhost ...
0
votes
0answers
21 views

How to take video thumbnail when uploading using FFMPEG and PHP on localhost

I'm trying to use FFMPEG on my website on localhost to take a thumbnail of a video that is being uploaded and save it to a folder on the server but it is not working. I've tested if this code works ...
0
votes
0answers
7 views

Jupyter notebook can't setup for Colab local runtimes

I'm trying to connect to a local runtime in google colab. I have followed the instructions from this, but I have run into a problem. When I was on step 3 and ran: `jupyter notebook \ --...
0
votes
0answers
10 views

Problem using XAMPP admin via local host IIS

When I clicked on admin for the Apache server in the XAMPP control panel, it gave me the IIS localhost in my browser and not the php my admin localhost. Can someone explain my problem?
1
vote
2answers
54 views

How can I have multiple localhosts in a machine?

Suppose, I want to test two server applications and one client application such that if one of the servers fail, the client can still be connected to the second server without the interruption of a ...
-1
votes
0answers
26 views

My phone doesn't connect to my localhost servlet

I'm trying to get my android app to connect to my locally hosted servlet, but although I tried everything that was said in previous posts similar to this I couldn't. both the PC and the phone are ...
0
votes
0answers
24 views

Java Web Start Locally

I'm trying to run my application with Java Web Start, but only locally through my web browser without any servers. I created RunnableJar file of my application and then wrote jnlp file like this: <...
-1
votes
0answers
33 views

Localhost doesn't show errors

localhost gives this error: The localhost page isn’t working: localhost is currently unable to handle this request. (HTTP ERROR 500) while I expected the error be like: FATAL ERROR IN LINE 42 for ...
0
votes
2answers
33 views

I wrote code exactly how the tutorial shows and it doesn't work

So I wrote all the code exactly shown(with all the correct path URLs based on my computer) tutorial from this youtube site: https://www.youtube.com/watch?v=NA21dUBfJhw&list=...
-1
votes
0answers
7 views

Invalid syntax error when trying to run python3 -m http.server 8000 [closed]

This is quite a basic question but I am trying to run the following code on the command prompt on windows: python3 -m http.server 8000 This is a part of my assignment to host the website on a local ...
0
votes
0answers
18 views

How to make Nokogiri scrape a local server running on localhost:(port)

I'm trying to test scraping of my site in development on a rails server on my local machine (locahost:3000). So far this is what I've tried: require 'nokogiri' require 'open-uri' doc = Nokogiri::HTML(...
0
votes
0answers
20 views

Send email from localhost to internet ubuntu php

I set up a local apache server that runs php 7.2 and am trying to send mail through the mail function in php. On my webhost, the code works and mail gets to the destination. On my localhost mail(...) ...
0
votes
1answer
21 views

Docker local environment custom local domains (hosts file?)

I'm a bit new to docker, but am searching this for quite a long time now. I am using docker almost always with this container: https://hub.docker.com/_/wordpress/ , because most of my project are ...
0
votes
1answer
18 views

Redirect from localhost to external url

I want to redirect a local port door to a website. So that when I access https://localhost:8080 it actually loads (or redirects) https://www.facebook.com, or something like that. I'm on a windows ...
1
vote
0answers
29 views

Docker connection to localhost refused

On linux I started a server at localhost:8090. From a docker container through Jupyter notebook I am trying to send a PUT request to the localhost server. GET requests seem to work just fine from the ...
0
votes
0answers
17 views

I am not not able run an website in localhost

This site can’t provide a secure connection localhost sent an invalid response. Try running Windows Network Diagnostics. ERR_SSL_PROTOCOL_ERROR
0
votes
0answers
9 views

XAMPP - Unable access laravel project through subdomain localhost

I am using XAMPP to host the laravel project. I was able to access the project normally by running localhost/laravel-test/public in browser. The problem I faced is unable to access the project by ...
0
votes
1answer
75 views

I can't connect to other machines within the same network

I'm developing a portal and the main aim for this portal is for all my colleagues (whose machines are connected to the same network) to access the portal. I have tried to reinstall my apache server ...
1
vote
0answers
33 views

Mac Mojave completely disabled my localhost

I know people has posted similar problems, but I've not found one that matches mine. 2 days ago I finally updated to Mojave and upon trying to load my localhost in Chrome, I found that my localhost ...
0
votes
0answers
15 views

Python cannot import packages/ libraries when running on web browser

I'm using XAMPP on Windows 10. I create this code below and run it on localhost: #!C:/python/python.exe print("Content-Type: text/html\n") print("test") from nltk.tokenize import sent_tokenize, ...
-1
votes
0answers
6 views

Host your web locally to test it from a LAN connection and check HTTP communication with another hardware

I have created a website. it is running perfectly in my local machine, localhost (say PC-1). I used apache and MariaDB. For testing purpose I want to check it from other PCs (say PC-2) in the same LAN ...
-1
votes
0answers
11 views

Localhost traffic capturing through Charles windows 10

Good afternoon! Help please configure my windows 10 to view traffic through charles or fiddler, is it possible to do this? Is it possible to capture ssl traffic?
0
votes
0answers
10 views

ASP.NET CORE 2.2 EF localDb project how install on server?

I made a project, now i need to install it on a server. don't know how. sorry for engrish. I am desperate. Send help.
0
votes
0answers
28 views

How do I setup a docker container that I can connect to from any computer on my local network?

I'm trying to create a Docker container that I can connect to from any device on my local network. Specifically, this container: https://hub.docker.com/r/codercom/code-server. I've tried using Docker ...
0
votes
0answers
11 views

Apache config VirtualHost for Express server running on localhost

I'm struggeling for a fews days now to get this thing correctly configured. What I want to achive is running an apache virtualhost with ssl on port 443, to serve the dist/ folder of an Angular app. ...
0
votes
0answers
24 views

Program showing fine in browser but fails to load resources in electron window

Currently working on a project and everything was working fine. Then suddenly after rebooting from a power cut whilst working on said project, the electron application has since failed to load any ...
0
votes
0answers
9 views

Wamp 3.1.7 can't install vcredist_arm.exe windows 10

I am trying to install new latest wamp server. My system is 64 bit version and i have downloaded the wamp accordingly. Now when i try to install vcredist_arm.exe it says : Now if i dont install this ...
-1
votes
0answers
21 views

Connecting to localhost on iPhone not working

I am trying to test my React website on mobile. It is being served on port 8080. In the past I would do this: Go to Network and copy my IP (192.168.1.109) Open up Safari on my iPhone, and type in ...
1
vote
0answers
21 views

Not showing pages of WordPress installed site on localhost

I have installed three WordPress sites on a WAMP localhost: localhost/pacific_ocean localhost/surfing_new localhost/construction Everything was working yesterday. Today, when I go to the above url'...
-2
votes
0answers
12 views

The MVC project does not work on localhost [duplicate]

After I publish my project My Web from My Web and my Web Api project, I'm publishing it in Local LocalHost and running it right. But after publishing my MVC project, I can't run it on Localhost. There ...
0
votes
2answers
14 views

I need to Undo my Redirection URL done by Redirection Plugin

I have used the REDIRECTION plugin and redirected the URL http://localhost/word/wordpress/product-category/sample/ to http://localhost/word/wordpress/sample/. The first thing it redirects all my ...