Questions tagged [localhost]
In computer networking, localhost is the hostname given to the address of the loopback network interface. It is used by a host to access network services running on itself.
10,158
questions
-5
votes
0
answers
29
views
Creating a javascript to access mongodb(mongoose) doing this by watching the UDEMY COURSES. I AM RUNNING ALL THESE IN VSCODE TERMINAL [closed]
MY app.js
const mongoose = require('mongoose');
mongoose.connect("mongodb://localhost:27017/fruitsDB",{useNewUrlParser: true});
MY ERROR
$ node app.js
C:\Users\paari\OneDrive\Desktop\WB ...
0
votes
0
answers
12
views
First React Project, had error with module, now don't know what is error
enter image description here
Firstly everything worked fine, then I got this error out of nowhere, tried searching online without success and on top of that now even can't start a projectenter image ...
0
votes
0
answers
18
views
HTTP Error 500.0 - ASP.NET Core IIS hosting failure
I got this error while testing my new website Locally on IIS Express on .NET5
I have checked that i have the required dotnet version , adding the dotnet paths to the system environment variables and ...
-1
votes
0
answers
24
views
Docker containers set to run on "0.0.0.0", but only exposed on "127.0.0.1"
I'm running docker on Ubuntu via WSL on Windows Server 2022. Everything seems to work fine when I execute "docker run", but every container is not being able to be accessed outside of the ...
-3
votes
0
answers
48
views
I cannot run Localhost:8080 [closed]
I run my code in java in IDE Eclipse no problem, but when i trying started access in localhost:8080 the error appears:
Whitelabel Error Page
This application has no explicit mapping for /error, so you ...
0
votes
1
answer
54
views
Access SQL Server Localhost database, from an external web service?
I have the next setup for SQL Server on my machine =>
And I'm able to login from SSMS with the next data=>
Server Type: Database Engine
Server Name: DESKTOP-9J8RFVD\SQLEXPRESS
Login: ...
0
votes
0
answers
7
views
NET::ERR_CERT_AUTHORITY_INVALID after making fake SSL cert on localhost
I've been using XAMP 3.3.0 and created a certificate for my virtual-host domain using makecert.bat
But when I goto https://local.mydomain.com/ I get
Your connection is not private
Attackers might be ...
1
vote
2
answers
63
views
The shell_exec and exec() commands don't work on linux Ubuntu in my localhost Ububtu 20.04
The following code only works in my Terminal but it doesn't work in my localhost xampp linux Unbuntu 20.04, Both shell_exec() and exec() don't work. When I go to localhot it executes all the code but ...
0
votes
0
answers
22
views
How do I get Apache to run? Port 443 in use by "unable to open process" [duplicate]
I've been trying to start apache (which I installed via xampp) but I keep getting this error message
You need to uninstall/disable/reconfigure the blocking application
12:45:52 PM [Apache] or ...
-3
votes
0
answers
35
views
On a Windows computer, how do I set up localhost 0.0.0.0 8080? [duplicate]
I am running a lesson on React and the example code is being run on a Mac. Still, I thought 0.0.0.0 8080 would come up in a browser but it only uses it as a generic search string on chrome on my ...
0
votes
1
answer
43
views
Local development with Spring Cloud Gateway and Keycloak for frontend developers
I have a problem with local development for our frontend developers in context of security.
Prerequisites:
Frontend App on ReactJS
Keycloak as IdP provider (OpenID Connect)
Standard authorization ...
-1
votes
0
answers
12
views
Localhost is not secure [duplicate]
browser returning localhost 192.168.43.191:3004 is not secure.It does not use https.Working with nuxt project.So lighthouse also returning that my nuxt project does not use https for development
How ...
0
votes
1
answer
44
views
Python not able to request from localhost
I have a julia server running on a localhost which supports POST requests. I'm trying to send a request from python to the julia server but seems python is not able to ping the local host. Results in ...
0
votes
0
answers
4
views
connection denied when trying to connect to ev3dev
I have problems connecting between ev3dev and the html program. I know I have the right ip address.
ev3dev codehtml code
the error message I get
I am quite inexperienced with such programs that talk ...
1
vote
1
answer
14
views
Trouble Connecting Flutter App to Local Appwrite Server on macOS
I am experiencing difficulties connecting my Flutter app to a locally hosted Appwrite server on my macOS machine. Despite trying various endpoint configurations, I cannot establish a connection. Here ...
-2
votes
0
answers
47
views
"GET / HTTP/1.1" 404 and "GET /favicon.ico HTTP/1.1" 404 (Flask Localhost Failure + 404) [Python, Flask, SQL] [closed]
CMD:
* Serving Flask app 'room.py'
* Debug mode: on
WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
* Running on http://...
0
votes
0
answers
30
views
Getting @google-cloud/translate API to work on localhost
Could I please get some assistance and step by step sequence of actions of what needs to be done and the conditions which need to be met to get this service to work.
My project requires translation of ...
0
votes
1
answer
15
views
SearXNG Displaying Blank Page
I've set up a SearXNG instance by cloning it from searxng-docker and running it alongside Cloudflare Tunnel. However, I encountered an issue when configuring the .env file with my hostname, which is ...
-1
votes
0
answers
16
views
tailwind css Using PostCSS is not working proper [closed]
Tailwind_CSS> npm start vite
start
vite vite
(!) Could not auto-determine entry point from rollupOptions or html files and there are no explicit optimizeDeps.include patterns. Skipping dependency ...
-1
votes
0
answers
39
views
Trying to use PHP to post a local image file through OAuth and getting stuck
Hobbyist here. Familiar with HTML and PHP and javascript, but only to the extent that I've needed it to make my stuff work. I keep a website with Hostgator.
What's going in is I have had a web-based ...
0
votes
0
answers
61
views
NodeJS 18 breaks DNS resolution of localhost from 127.0.0.1 to ::1
I am working on a NodeJS monorepo which had applications on nodeV16 and I upgraded those to nodeV18. Many of those use localhost for communication. With Node 16, the localhost used to resolve in 127.0....
0
votes
0
answers
14
views
Allow vhost and standard localhost
Hello guys am not realy good with apache and i have litle problem when i need to create virtual host for one project.Until now, I have accessed all projects via a browser in the following way:
http://...
0
votes
0
answers
55
views
Enabling https on Raspberry Local ports with reverse-proxy Caddy
I have in my raspberry pi 4 a docker-compose who creates an iotstack with influx, grafana, nodered, mosquitto and portainer. I want to enable https without a domain, just for my local devices.
I took ...
0
votes
0
answers
10
views
differences in behavior docker php - localhost
I am currently working on a php project
which upon completion I must deploy it in a docker container.
To perform this task I am using the image:
8.1-apache-bullseye
I have the problem with the ...
1
vote
0
answers
17
views
React Localhost Proxy Working in Dev but not with Serve
I'm having a strange issue when trying to use a Proxy for Localhost in a React App (created with create-react-app). The backend server is running on
localhost:3000
The Proxy is setup in as many ...
0
votes
0
answers
16
views
Safari does not connect to aliased hostname on localhost via https
Since the most recent Safari update I cannot connect to my local React apps via https on localhost via local domain aliases anymore. However, I can access them via https://localhost:<someport> ...
1
vote
2
answers
43
views
localhost page not found, but found with port 8080
I’m a beginner and I did everything according to the book, I downloaded the ampps program, but there was a problem that port 80 for Apache was already in use and I changed the port to 8080 in the ...
0
votes
0
answers
12
views
"Troubleshooting PHPMyAdmin Not Functioning Properly"
Warning: include(D:\Xammp\phpMyAdmin\vendor\composer/../../libraries/classes/Html/Generator.php): Failed to open stream: No such file or directory in D:\Xammp\phpMyAdmin\vendor\composer\ClassLoader....
-3
votes
0
answers
39
views
Connecting my python application to a local database (error) - psycopg2.OperationalError FATAL: database "localhost" does not exist
I have an application built in python, and when I run main.py to test the program, I encounter an error: psycopg2.OperationalError: connection to server on socket "/tmp/.s.PGSQL.5432" failed:...
-1
votes
0
answers
17
views
Connecting to a Windows localhost on a Mac
I have a PC, and a Macbook, which on on the same network—they connect to the same wifi.
I have a localhost server running on the Windows machine. Can I access that URL on the Mac?
I’ve tried doing ...
0
votes
0
answers
13
views
Tomcat Geonetwork port already in use
I am trying to install Geonetwork via Tomcat, but cannot access to it.
First of all, I installed Tomcat, but when running it, I was facing the following problem:
error image
I went to the server.xml ...
0
votes
0
answers
30
views
SSL Certificate 'Not Secure' Issue on localhost with Chrome
I've set up a self-signed SSL certificate for localhost and imported it into chrome. Despite enabling 'Allow invalid certificates for resources loaded from localhost,' I'm still seeing a 'Not Secure' ...
0
votes
1
answer
30
views
Umbraco 10 : Detection of browser / userAgent on localhost
I'm new to Umbraco, i have installed an instance V12 locally.
I'm trying to check for mobile and other devices
The error message im getting is this one:
An error occurred during the compilation of a ...
0
votes
0
answers
35
views
CodeIgniter local development server can open localhost but when i open url its not working
i have install codeigniter 4 from composer to my laptop. and i want to run local development server using php spark serve. after i run it, its looks like this :
local development server
i'm so ...
0
votes
1
answer
25
views
Testing PWAs on iOS
I'm reading an article that talks about how you can test your PWA on an Android device using ADP (Android Debug Bridge). As I understand it, it means it's possible to debug your PWA in real time on ...
-1
votes
1
answer
15
views
Can't connect to a running server in vagrant with windows OS
I recently installed vagrant in windows 10 and everything just work fine but as I know almost nothing about Virtualization or VM's I got a problem when connecting to a server.
I have a nodejs server ...
0
votes
0
answers
16
views
access to local request fails using local telegram bot api
I have been trying to deploy the local telegram api. I logOut the bot from the official website. When I start the local api, my access to 127.0.0.1:10802/botToken/getMe keeps failing. 10802 is the ...
1
vote
0
answers
21
views
trying to connect php code to phpmyadmin using xampp & local host can't find htdocs path
I am new in development field. I am trying to connect my php code to phpmyadmin database using xampp & it's not connecting to the local host, showing that there isn't anything inside htdocs but in ...
1
vote
0
answers
17
views
I am trying to build an app and cannot reach my localhost:5060 server while serving my files using node.js through wsl. How can I fix this?
I have been trying to connect to localhost to run an extremely rudimentary web app. I have wsl2 (which I began using for comp sci classes) on my Windows 10 machine, and because I've used it so much ...
0
votes
1
answer
19
views
An ASP.NET solution running on localhost - can we develop a C# program which can find which function got executed now on localhost?
I need to log every function execution (on localhost) through my C# program which is running independently.
Basically can we communicate with the runtime environment through C# code for other ...
0
votes
0
answers
23
views
How do I change the payload URL in the Network tab to my personal domain?
Network tab - URL of payload is local host.
I want to change this to my personal website domain.
I'm using react and aws, how do I fix it? Help me, i'm super beginner🥲
This is to get ads from Google ...
0
votes
0
answers
38
views
Node.js - I can't upload files to local server - "The "oldPath" argument must be of type string..."
I've got a problem with uploading files to local server. When I'm trying to send the file, browser's showing an error ERR_CONNECTION_REFUSED, while my node console is throwing TypeError [...
0
votes
0
answers
24
views
Problem in localhost - Next run dev - Development SERVER
When I run yarn run dev
the result is :
- ready started server on [::]:3000, url: http://localhost:3000
- info Using wasm build of next-swc
Done in 37.09s.
But there's nothing " This site can’t ...
0
votes
0
answers
27
views
SVGs not Rendering in Next JS
I've been following this NextJS tutorial: https://www.youtube.com/watch?v=iWAUAOqCHks
and he gave a download link in the description to download with all the assets required to build the Car Website. ...
0
votes
0
answers
22
views
Getting Connection error while connecting nodejs server flutter locally
I'm currently using NodeJS for my backend and I'm trying to integrating the API's locally
but I'm getting 1 error which is
ClientException with SocketException: Connection timed out (OS Error: ...
-1
votes
0
answers
57
views
php statement, require, doesn't work in wamp server
I am trying to run a website in localhost under wampserver.
The index.php program contains a statement:
require('config.php');
config.php is in the same directory as index.php. It defines a bunch of ...
-1
votes
0
answers
29
views
How to connect from docker container to database installed locally
I have a web application that has connections in the form
DB_PASS = somepass
DB_HOST = host.docker.internal It supports the old php-fpm version 7.4. That's why I ran php7.4-fpm in a docker container, ...
0
votes
2
answers
53
views
Axios post request to ngrok server - why am I not receiving any data in req.body?
Im making an axios post request to my server. client is run on localhost. To make this happen, I am using ngrok. I resolved the CORS errors by adding specific headers to my axios request. However, I ...
-1
votes
0
answers
16
views
php and mysql containers, docker
problems contemplating a php application connected to the database and does not connect due to problems with mysqli from the php.ini file
I have tried to add the php.ini file and restart the apache ...
0
votes
2
answers
31
views
What makes `curl http://localhost:8000/initdb` return `init database` and `curl http://localhost:8000/widget` return 404?
I'm following the tutorial in Use containers for development#Get and run the sample application | Docker Docs. At step 6, instead of getting an empty [] JSON string, I get:
curl http://localhost:8000/...