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
0answers
8 views

Cannot add 127.0.0.1 to Google reCaptcha

I have been using Google's reCaptcha for a while and I always add 127.0.0.1 to the domain list so it can be tested on my WAMP. Recently I wanted to add a new site (separate from the others) but the ...
0
votes
0answers
6 views

Angular application with a locally hosted web api

I am getting an error when running an angular application which has public access which is connected to a locally hosted WebApi. Server1 -> Angular WebApp Server2 -> Web API Server 1 can be ...
-1
votes
1answer
21 views

Set localhost name to custom name inside for local wordpress setup

I want to put a live wordpress site in my local environment, let's say for example the site url is www.test.com , this opens the page, so when I normally set up a local environment in /var/www/html (...
-3
votes
0answers
15 views

How to fix image preview problem due to path of image? [on hold]

I uploaded an image using jQuery file uploader but my images located C:// drive and I want to get images from there. But after uploaded an image, path is created like this :http://localhost:4850/C:/...
0
votes
0answers
4 views

Python code for template inheritance not working [on hold]

The block and endblock is not recognised as keywords and when i extend tat html document to other pages it is not working and my website looks plain without any styles which i have included in tat ...
-2
votes
0answers
23 views

how to link mysql data base with my localhost website

I am beginner with creating websites I have already created a website by html and ccs and also i created the database by my sql queries Now still link the database with my website in xampp server ...
0
votes
1answer
15 views

see all console log Nginx gunicorn

I run a app in django in local host and for testing my code I can see result by python manage.py runserver and see every detail in that terminal, for example in views.py I write a basic code print("...
0
votes
0answers
5 views

Is there anyway to map a local URL to localhost?

I am working on an app with the local domain: TestStore.companyName.local:3000 . I am testing a Square payment implementation and keep getting back "SSL in not present. Will automatically fail". ...
0
votes
1answer
19 views

Page not found (404) error on company code that I just cloned and should work. Is there anything wrong with the code?

A coworker and I are getting the same issue when we clone the Central Desk website from our repository. It is giving us the Page not found (404) error and we don't know why. The code should work fine, ...
0
votes
1answer
26 views

Wamp website unreachable after php update specific situation

I have wamp (3.1.8 64b) installed and upgraded the following: apache from 2.4.33 to 2.4.39 listening on port :8080 php from 5.6.35 to 7.3.4 Now a codeigniter website I've been working on daily ...
0
votes
0answers
10 views

Return value from Python CGI script

I plan on using Swift to access a CGI script I have on my (Apache) localhost server. My URL so: localhost:8888/myscript.cgi I've written out a script inside myscript.cgi, with the python3 shebang line,...
0
votes
0answers
27 views

How does ASP.NET Core application works in dev environment

I am new to ASP.NET Core and started with a normal web application made using razor pages (not MVC) in ASP.NET Core 2.1. My dev environment is VS 2017. When I press F5 to debug the application, it ...
0
votes
0answers
27 views

Local Host not succesful

Command Shot Above I have a screen shot of my app.js server and for some reason the connection is not going through below I have my app.js code const express = require('express'); const app = ...
0
votes
0answers
12 views

Getting a bad gateway in Ngrok start

I have 3 apps that are installed locally with private networks IP address. What I am trying to do is to use ngrok to put them temporary live for a presentation, however, i am getting a bad gate way. ...
-1
votes
0answers
12 views

how to fix this problem with laravel beyondcode dashboard?

i'm making an offline real time commenting system with laravel beyond code websockets ,it was working offline at the beginning but now the websockets dashboard is requesting some scripts from the ...
0
votes
1answer
20 views

Is it possible for another device to connect to jupyter

Is it possible for another device to connect to Jupyter on my current device? Without using jupyterhub Like the way xender works offline.
0
votes
1answer
33 views

How to open a localhost server accessible from all devices in C# Windows Forms

I'm building a C# (Windows Forms) application that should open a local server on the network. I've searched and googled thoroughly but it seems that nobody was exposed to the same problem that I have. ...
0
votes
1answer
14 views

Loading React Pages from Spring Controller

I have this code in my Spring Boot Application @RestController public class SampleController { public SampleController() { File file = new File("restresources"); System.out.println("File -&...
0
votes
0answers
24 views

SSL certificate not working on rails local after upgrading to Chrome 73

SSL certificate not working in rails local after upgrading chrome to chrome 73. It was working fine till chrome 70 and the latest version of safari. Using this link to set up the ssl cert on local ...
0
votes
0answers
23 views

after npm audit fix in NODEJS app appeared the error 2 vulnerabilities required manual review and could not be updated

How could I fix this error? its a nodejs application and everytime I do npm audit fix it gives me : found 2 vulnerabilities (1 low, 1 moderate) in 330 scanned packages 2 vulnerabilities require ...
0
votes
0answers
14 views

How to share a D3.js data visualization made on a local host server to the general web so that its accessible through all browsers?

I am a newbie to data visualization using D3.js to make simple visualizations on a localhost server I setup through WAMP. Since I have no knowledge about web servers and applications, I donot know how ...
0
votes
1answer
30 views

localhost and localhost:4200 CORS issue in angular

I have tried all the possible ways found in we to solve the CORS issue in angular while runnig through VS code using ng serve Implemented the prox.conf.json and then run ng serve --proxy config ...
0
votes
0answers
12 views

intranet bottle pages cannot be reached

In my macbook; the static pages in my bottle server serving at port 8090 can be reached in the localhost but cannot reached at my intranet-IP. On the other hand, the httpd server serving at port 8080 ...
0
votes
0answers
19 views

Where is the header used for enabling Cross-Origin Resource Sharing (CORS)?

I want to enable Cross-Origin Resource Sharing (CORS) for a localhost server. This and other guides say: "To fix it, simply add a header to the response in our server code: Access-Control-Allow-Origin:...
0
votes
1answer
7 views

LocalHost Forwarding

I want people to be able to connect to a file on my localhost that our outside of my WiFi, but everything I tried and searched didn't work. Anyone have awnsers? I searched everywhere for awnsers. I ...
0
votes
0answers
28 views

Can't share PHP PDO project with ngrok : FATAL ERROR

FOUND SOLUTION : I had to add the port and replace localhost by 127.0.0.1 in the DSN I have a problem with all my PHP websites connected with PDO when I try to share them with ngrok : I get a PDO ...
0
votes
0answers
27 views

Localhost with different port returning null Auth:user() for Laravel 5.8

I have a Laravel 5.8 project running on XAMPP. Everything works fine on localhost (mywebsite.io for dev) but when I go to localhost:7881 (mywebsite.io:7881) it also works but when trying to access the ...
0
votes
0answers
8 views

Redirect host names to localhost

I want to redirect foo.com to my localhost service and I modified the C:\Windows\System32\drivers\etc\hosts file as below. But I get 404 not found. I am using IIS Express to host the service. ...
-2
votes
0answers
16 views

how can i set xampp localhost as a telegram bot server

I'm developing a telegram-bot using php I wanna use localhost to run and test the bot until the project development becomes completed. how can I set localhost as a webhook when I want to set bot ...
0
votes
0answers
17 views

Error “ionCube PHP Loader” after using composer. Magento 2 showing error. Please advise

I'm encountering this message: "Site error: the ionCube PHP Loader needs to be installed. This is a widely used PHP extension for running ionCube protected PHP code, website security, and malware ...
-2
votes
0answers
20 views

Code works on appserver and xampp(localhost) but not on my website [duplicate]

I've coded a forum via php on my localhost(appserv and xampp). But when i try to publish my code on my webiste i get HTTP ERROR 500(https://gyazo.com/0ecdb91efa5d2b256416ecc0e7031dc8, Site dosen't ...
0
votes
0answers
56 views

I get a CORS error within the same web-application

This is my first time implementing a web-application on my own, so I am still learning. Be gentle :P My web-app is running on the same machine/server. I am using Apache, PHP and MariaDB for this app. ...
0
votes
0answers
22 views

Invoke api running on localhost from aws lambda in nodejs

I am running a api on http://localhost:80/api/test, I want to invoke this api from lambda function but I am not sure what plugin or anything I should use to access same.The reason for for doing so is, ...
-3
votes
0answers
27 views

localhosted Chat Apps on Chrome doesn't work properly DJANGO [closed]

localhosted Chat Apps on Chrome doesn't work properly DJANGO i am developing a project which is a chat room app which runs on localhost , chrome doesn't show up messages on android but it does on ...
0
votes
0answers
22 views

How to fix broken HTTPS on android when using a openssl self signed localhost certificate?

I followed this guide on how to create my own CA and end entity certificates. My certificate authority (localhost) openssl config looks very similiar to this. According to this post I've set [ v3_ca ]...
-1
votes
2answers
28 views

Addressing localhost from ubuntu to windows 8 via Virtualbox

I'm developing a simple web application with springboot in Windows 8. When I deploy jar file into docker in Ubuntu and run the container, I can see it works on address 10.0.2.15:8082 which is a ...
-1
votes
2answers
49 views

JDBC on localhost doesn't connect

I can't connect to the local database even if the connection parameters are correct, using jdbc. If I try to connect by terminal or by some client i can connect. But if I try to connect to remote ...
-3
votes
0answers
19 views

Using mail() as localhost using apache2 [duplicate]

i'm trying to simply send an email from my php file with mail() i'm using ubuntu 16.04, php5.6 and virtual host with apache2 For the moment i have this: mail('heremyemailtotest',"test subject","...
0
votes
1answer
38 views

D3js pie chart not showing up on localhost

still brand new to D3.js. I'm trying to test out a very simple D3.js donut graph on my local server with a Mac. I opened by localhost by using python -m http.server then a message appears: ...
0
votes
0answers
39 views

failed to connect to localhost:3000

I have a web service hosted in the IIS (for testing issues) and i want to call it using my device not the emulator. my calling is as follows: private void getClasses(){ Retrofit retrofit = new ...
0
votes
0answers
16 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 ...
0
votes
2answers
12 views

can't access localhost via android device using Easyphp

I'm using Easyphp to host my local website on windows and It works flawlessly. Now I'm trying to launch the website from my android phone. But It doesn't seem to work by just typing : http://...
0
votes
1answer
16 views

Wordpress with ngrok redirect me for localhost

i have a site in wordpress and i want to share to my client but with ngrok when i put the link of ngrok he redirect for localhost. I have tried relative urls plugins but still doesnt work
0
votes
1answer
35 views

Access parallel windows localhost from Android or iPhone's device (Real device) browser

I am developing an app using Xamarin.Forms. Now I want to connect my mobile app with .Net API project to get datas. I want to connect the mobile project with .Net API project. I have already done ...
0
votes
1answer
19 views

production version of Kiwi TCMS - GUI not at localhost

Here's what appears: [[email protected] ~]$ cd Kiwi [[email protected] Kiwi]$ sudo service docker start [sudo] password for user: Redirecting to /bin/systemctl start docker.service [...
-4
votes
1answer
34 views

PHP Slim v3 add cookie in response headers

We are using PHP Slim v3 as a backend and Angular as a frontend. Both the apps are running on the same localhost with different ports. In one of the api call, we would like to add the cookie in ...
0
votes
2answers
28 views

Node js port is already in use

When I start my webserver, node throws listen EADDRINUSE: address already in use :::3000, I tried to use netstat and search for 3000 port (or another, it happens with any port), but nothing found. ...
0
votes
0answers
17 views

Facebook pixel integration only works in localhost

I'm trying to integrate Facebook pixel to my web site. I have followed the steps given in the Pixel document and also placed the piece of code given in my website. <!-- Facebook Pixel Code --> ...
-1
votes
0answers
25 views

mysqli_query is working fine on localhost but not on cpanel server

mysqli_query for INSERT INTO is working fine on localhost but not working when I upload files to cpanel. other mysqli_query for SELECT, UPDATE and DELETE etc works fine. I have imported the database ...
0
votes
2answers
39 views

ASP.NET MVC 5 C# URL is different during Debugging/Deploying between IIS Express and Local IIS

I am from a Classic ASP background and now trying to migrate into ASP.NET MVC. I am confused when I debug/deploy using IIS Express vs Local IIS. For IIS Express when I first launch my web when I am ...