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.
9,555
questions
0
votes
0
answers
6
views
How to send multiple files and folders to local server express
My project has files, in the screenshot below. My task is to run the whole project on a local express server. But only index.html is displayed without styles. The static file method doesn't work ...
0
votes
1
answer
18
views
How to configure codeigniter with site files in xampp?
I've recently taken over a project from another developer, let's call it EBAY. I'm struggling to get their live site up and running on my local server for testing and debugging. They've built a web ...
0
votes
0
answers
16
views
Cannot access wp admin on another computer in local network
I have created a wordpress website on a wampserver 3.2.6 and wanted to access the website, as well as admin panel from another device(pc) on a local network but I get an error (err_refuse_to_connect). ...
0
votes
0
answers
5
views
My all access privileges for root@localhost are lost and I am unable to give access to the same on windows
I have tried all options like GRANT ALL PRIVILEGES ON . TO root@localhost IDENTIFIED BY 'yournewrootpassword' WITH GRANT OPTION;
also tried update command but all those access are also removed ...
0
votes
0
answers
12
views
How to point frontend towards local backend server for local testing
I'm developing a full-stack web app, which has both a frontend and a backend. In production, my frontend will be hosted at https://frontend.com, and my backend at https://backend.com. It seems ...
-2
votes
1
answer
26
views
PHP, when I send via POST, I get a 500 error [duplicate]
I have programmed a php document that sends data to the local server (mysql) using POST. If I send data to the local server, I get: The localhost site is currently unable to process this request. HTTP ...
0
votes
0
answers
21
views
How to make localhost https in reactjs
In package.json
"start": "set HTTPS=true&&set SSL_CRT_FILE=cert.pem&&set SSL_KEY_FILE=key.pem&&react-scripts start",
I have cert.pem and key.pem under my ...
0
votes
0
answers
12
views
React App continually shows as loading in Chrome browser on localhost
I have a react app, that continually shows as loading when run on local host. As in the page loads completely and all the network calls are resolved and works as expected, but it still has the spinner ...
0
votes
0
answers
13
views
display tomcat localhost page using hosts file in windows
I have setup tomcat with an application deployed to ROOT location. entering localhost or 127.0.0.1 shows the application front page.
After that I modified the windows hosts file like this:
127.0.0.1 ...
0
votes
0
answers
18
views
Fatal error: Uncaught mysqli_sql_exception: No connection could be made because the target machine actively refused it [duplicate]
Fatal error: Uncaught mysqli_sql_exception: No connection could be made because the target machine actively refused it in C:\xampp\htdocs\OJT\assets\connection.php:7 Stack trace: #0 C:\xampp\htdocs\...
0
votes
0
answers
10
views
NodeJS + Postgres: Failing due to connection being refused when I try to run a simple SQL query to a local Postgres DB
I'm following one tutorial on Node.JS + Postgres, where Express is being used in pair with library node-postgres, and I seem to be running into the following issue whenever I add a query to DB into ...
0
votes
0
answers
18
views
How to get address of a file on localhost?
I am trying to open a HTML file using localhost method.
Below are the two images. The URL shown there is generated
automatically by an extension.
Now, I want to find the same for any other file or ...
0
votes
1
answer
20
views
Reaching localhost api from hosted static site
Im trying to build a React app on Netlify or Heroku, and reach my local api for testing.
I think there's CORs issues when I've tried, just not sure if it's possible.
Any examples of this being done?
-1
votes
0
answers
6
views
ubuntu lts server and win10 pc physically ethernet cable connection
Ubuntu LTS 20.04 running on Raspberry Pi
Apache2 installed on Raspberry Pi
I want to view local website on win10 pc with physical ethernet cable connection.
How can I do that
Raspberry Pi and win10 pc ...
-2
votes
0
answers
25
views
PHP server error - Blank page on the browser localhost:3000/fileName
I wrote a login system in PHP using PHP server to display on the browser and was all fine, until Avast delete an important file in the root of phpserver extension called 'logger.php', which led to an ...
-4
votes
1
answer
28
views
What does it mean to "serve it on `localhost:8000`"
Just cloned a web-application from GitHub and came across the following in the README file:
To serve it on `localhost:8000`
```bash
$ grunt connect
```
What does this mean?
-1
votes
0
answers
6
views
connecting my ipv4 address to a Hostinger domain
I have an old computer that I wanted to make a host on it but when I tried connecting my IP address to the domain as an A record but I discovered that I cant I have two ipv4's one is my private one ...
-1
votes
0
answers
11
views
Curl laravel /cURL error 1: Protocol \"\" not supported or disabled in libcurl (see https://curl.haxx.se/libcurl/c/libcurl-errors.html)
{
"success": false,
"message": "cURL error 1: Protocol "" not supported or disabled in libcurl (see https://curl.haxx.se/libcurl/c/libcurl-errors.html)",
"...
0
votes
1
answer
12
views
Subdomain in hosts file [closed]
Can i use * in the hosts file to allow all subdomains for a localdomain for example :
127.0.0.1 localhost
::1 ip6-localhost
127.0.0.1 tdim.local
127.0.0.1 *.tdim.local
0
votes
1
answer
15
views
Cannot Access the Local Host on Python 127.0.0.1:8000 in browser
from django.contrib import admin
from django.urls import path, include
urlpatterns = [
path('admin/', admin.site.urls),
path('products/'),include('products.urls') #this line
]
Hi,anyone. ...
0
votes
1
answer
21
views
Frontend/Backend Serving on Ubuntu Server 20.04
I am working on my first web-project and therefore use an Ubuntu Server 20.04 with apache2. Now i struggle with the correct frontend/backend-serving of my website. Actually I can not communicate with ...
-1
votes
2
answers
33
views
Why I can't get file content using file_get_contents for this site in php
Peace be upon you.
I just developed a free PHP tool that extracts YouTube video details of all public videos in json format. It works perfectly with local server and live server. But the problem is if ...
0
votes
0
answers
33
views
npm start (localhost:3000) gives me a blank page
Every time I try to use npm start to run localhost:3000 I get a blank page - I had it work briefly yesterday but then today it stopped!
I've even tried using several different pre-made github projects ...
0
votes
0
answers
14
views
Cannot access localhost:8080 using alias in docker compose
Im looking to access localhost:8080 using alias inside docker-compose.yml. I tried those 2 options :
build: .
networks:
default:
aliases:
- localhost:8080
extra_hosts:
- localhost:...
-1
votes
1
answer
30
views
Vendor Machine API's Postman Collection Issue
I am trying to create a postman collection for a Vendor machine API but when I try to send a login request localhost:3000/auth/login I get connect ECONNREFUSED 127.0.0.1:3000
Could the below error be ...
0
votes
0
answers
16
views
Web Share API doesn't work in iPhone when testing locally
I'm trying to implement a share button that uses the Web Share API in a website that I'm developing using create-react-app.
I'm testing the website using Chrome on MacOS and Safari on iPhone.
Before ...
0
votes
1
answer
30
views
Can't connect to ganache
the code is in the picture below
ERROR:
raise MissingSchema(error)
requests.exceptions.MissingSchema: Invalid URL '<web3.main.Web3 object at 0x00000292C9A8C6A0>': No scheme supplied. Perhaps ...
-2
votes
1
answer
27
views
discord.js bot hosted on replit not turning on anymore
I had my bot hosted for a while on replit.com its been days but suddenly it stopped responding I stopped it and ran again it stopped working, It has been hosted 24/7 for days no error I don't know ...
1
vote
1
answer
17
views
Connect to local MySQL Workbench DB via sqlplus
I'm trying to learn PL/SQL language. On my mac laptop (macOS Monterey, M1) I have the following set up:
MySQL Workbench running a test database
and SQL*Plus installed in the terminal
My question: How ...
-2
votes
0
answers
6
views
how to use a function written in local server written in python by XML postman post method?
i have this server written in python on my local server port
python server
in which i am trying to use its add function by post request using xml in postman as you can see , but i always get the page ...
0
votes
1
answer
526
views
Having a trouble with Google OAuth2. Can't sign up with google
Been facing this issue
"You have created a new client application that uses libraries for user authentication or authorization that will soon be deprecated. New clients must use the new libraries ...
0
votes
0
answers
11
views
How to get rid of PWA on port 8080
I tried developing a PWA few weeks back and tested it on http://localhost:8080. I have stopped working on that project now, but still when I http://localhost:8080 it still contains the home page of ...
0
votes
1
answer
27
views
How can i list data from table in the database in a browser
I'm developing a web application using reactjs nodejs and mysql database.
I want to list the data created in a table i created in the database in the browser via a link(http://localhost:5000/api/v/...
-1
votes
1
answer
27
views
apache xampp virtual host makes error 403 windows
I simply want to enable the test.php file to be accessible via a virtualhost so I added just 127.0.0.1 test.localhost in the windows host file and
<VirtualHost *:80>
DocumentRoot "D:/...
-1
votes
1
answer
16
views
How to make an restful API to add data or block into block chain
I am new to block chain , my project is to just by using restful API I need to add data on to block chain.
But to do that I need to make my own private block chain I don't know how to do it.
And I ...
-1
votes
0
answers
13
views
lOCALHOST REFUSED TO CONNECT with Visual Studio Code
Such a simple issue that defies an explanation; I have tried virtually everything to solve this problem. simply want to open and run HTML file with Visual Studio Code. Always get the same error.
I ...
0
votes
1
answer
20
views
Here, I am trying to login using firebase auth, but getting 400 error. I am giving exact email & password but it's showing below error
FirebaseError: Firebase: Error (auth/invalid-email).
at createErrorInternal (assert.ts:122:1)
at _fail (assert.ts:65:1)
at _performFetchWithErrorHandling (index.ts:171:1)
at async ...
-1
votes
0
answers
12
views
Acessing data from localhost on Alexa developer console
I am trying to acess data from my localhost server on raspberry pi with my alexa.
This works when I run the code in visual studio code with the local debugger, but doesn't work in the developer ...
0
votes
1
answer
52
views
Why Apache flink in not running on Windows?
I am a newbie and I am using apache flink for the first time. I have downloaded flink-1.14.4-bin-scala_2.12 version in windows, I have installed cygwin to run the sh files in windows. I have also ...
0
votes
0
answers
17
views
Getting localhost site on my phone - issue with communicating to local backend? [closed]
I'm working on a react web app on my laptop using localhost. The app is served on host 3000. The app calls a local backend hosted on 8000 to fetch data. I can pull up the app on my phone using {ip ...
0
votes
1
answer
20
views
How to read and write to local text file from a localhost server (preferably using Node's fs module)
I'd like to find an easy way of reading and writing files (stored locally) from my program running on a localhost server. If I use const fs = require(fs) it can't find the Node module from the server. ...
0
votes
1
answer
26
views
Can't access localhost on other devices using php artisan serve
recently I was trying to access my laravel web app on the same wifi using another device and it works well(I copied the ipv4 into the --host). However, when I tried it on a different wifi, it doesn't ...
0
votes
0
answers
6
views
How to load angular website in mobile without any command
I have developed one website in angular platform with node js as server and mysql database, but issue is that i am not able to load that website in mobile for verification ,it is working only when I ...
0
votes
0
answers
15
views
Can't reach backend server via localhost on iPhone/iOS
I am testing a full-stack React app on my iPhone, which is configured with the frontend running on port 3000 and the server on port 8080. I know that to access the localhost from your iPhone, you find ...
0
votes
0
answers
38
views
pg_restore -h localhost VS pg_restore -h 127.0.0.1
I was following a tutorial about downloading a db from a heroku app and pairing it with your local version. This was the process:
To view database in Heroku
heroku pg:backups
To download
heroku pg:...
0
votes
0
answers
23
views
How can i solve this "no such file or directory" problem in PostgreSQL?
i'm trying to use PostgreSQL commands but i have the line
psql: error: connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: No such file or directory.
Is the server ...
0
votes
1
answer
13
views
Cookies are not set in integrated playground of Apollo Studio which are connected to local development environment with domain error
I've a node with typescript app which is build with the following components:
"apollo-server-core": "^3.6.7",
"apollo-server-express": "^3.6.7",
&...
0
votes
0
answers
19
views
The connection pool named: |apex|| is not correctly configured, due to the following error(s): ORA-28001: the password has expired in apex
How to solve this type of errors in apex local host 'The connection pool named: |apex|| is not correctly configured, due to the following error(s): ORA-28001: the password has expired ' What is the ...
0
votes
0
answers
21
views
Connect to RShiny app through phone by localhost
I'm developing an app that I will be used mainly on phones, so I need to connect to it through the localhost. Computer and phone are in the same WiFi.
I have the app running locally, not in an Shiny ...
0
votes
0
answers
27
views
After exporting my WordPress database, I can't access wp-admin and the whole local site. I get error messages which I have failed to solve
I have been trying to move my WordPress site from local host to a live server. After exporting my database via phpMyAdmin, I started to get error messages and could not access the local site nor wp-...