Questions tagged [connection-refused]

Message received for different reasons when trying unsuccessfully to connect to a server.

Message received for different reasons when trying unsuccessfully to connect to a server.

322 questions
154
votes
14 answers

What can be the reasons of connection refused errors?

I'm trying to write a server program in C, using another client, I get this error when I try to connect through port 2080 for example. connection refused What can be the reasons of this error?
Zenet
  • 6,961
  • 13
  • 38
  • 45
17
votes
2 answers

kubectl port-forward connection refused [ socat ]

I am running pyspark on one of the ports of kubernetes. I am trying to port forward to my local machine. I am getting this error while executing my python file. Forwarding from 127.0.0.1:7077 -> 7077 Forwarding from [::1]:7077 -> 7077 Handling…
Ruchit Dalwadi
  • 311
  • 1
  • 2
  • 13
15
votes
10 answers

Connection refused on localhost

I am trying to work on my nodejs and reactjs app at school but everytime I run the server, I get an error with localhost:PORT/net::ERR_CONNECTION_REFUSED Is the wifi refusing the connection on localhost? PS: The react side renders correctly
blouuuu
  • 454
  • 1
  • 4
  • 16
12
votes
4 answers

Unhandled rejection SequelizeConnectionRefusedError

I run my server.js file and I have this error: Unhandled rejection SequelizeConnectionRefusedError: connect ECONNREFUSED 127.0.0.1:4305 at Handshake._callback > …
struggleale
  • 121
  • 1
  • 1
  • 5
11
votes
6 answers

PostgreSQL Connection Refused

I have installed PostgreSQL. However everytime I try to connect through PGAdmin or through psql it gives me the below error. could not connect to server: Connection refused (0x0000274D/10061) Is the server running on host "localhost" (::1)…
dino9239
  • 111
  • 1
  • 1
  • 3
10
votes
7 answers

I don't have a proxy, but Gradle says "Connect to 127.0.0.1:8888 [/127.0.0.1] failed", even after removing ~/.gradle

My gradle seems to insist on downloading packages from what looks like a proxy address. With this command I stop all Gradle daemons, remove any Gradle configuration, and build a random project from GitHub that has no proxy settings in its…
Nicolas Raoul
  • 58,567
  • 58
  • 222
  • 373
10
votes
5 answers

Webview Localhost Connection refused using 10.0.2.2 address

I'm just making a basic Webview app on an android emulator and cannot connect to a website hosted on my computer. Here is my code: Android Manifest:
engg_mike
  • 101
  • 1
  • 5
9
votes
1 answer

Javascript create WebSocket connection refused - content security

Trying to open a WebSocket connection from a Browser to a server running on localhost:9000 here is my JS code: $( document ).ready(function() { var url = "ws://localhost:9000/myapp"; var connection = new WebSocket(url); …
9
votes
0 answers

curl: (7) Failed to connect to localhost port 9200: Connection refused

I got this error: curl: (7) Failed to connect to localhost port 9200: Connection refused when i typed curl 'localhost:9200/_cat/indices?v'. I setup elasticsearch 1.7 and after that i edited file elasticsearch.yum: cluster.name:…
troonie-pham
  • 93
  • 2
  • 5
8
votes
5 answers

Laravel serve getting ERR_CONNECTION_REFUSED on localhost

I'm having an issue with my local laravel server. I'm building an API, and I need to test from another device, but the only url which is working is: localhost:8000 If I try 127.0.0.1:8000 or using my machine local IP 192.168.0.6:8000 I have a…
Daniel Campos
  • 971
  • 4
  • 11
  • 20
8
votes
5 answers

Hadoop - java.net.ConnectException: Connection refused

I want connect to hdfs (in localhost) and i have a error: Call From despubuntu-ThinkPad-E420/127.0.1.1 to localhost:54310 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: …
Alex
  • 207
  • 2
  • 3
  • 11
6
votes
4 answers

Django - Sending email works in shell, but not on localhost - ConnectionRefusedError

I'm new to Django, but I have read on the order of 50 pages (mostly SO and Django documentation) and haven't found anything that quite works for my situation. I'm merely trying to send an email via the send_mail function in Django; although I'm…
Drew Snyder
  • 61
  • 1
  • 2
5
votes
3 answers

VS-Code Python debugging - ConnectionRefusedError: [WinError 10061] No connection could be made because the target machine actively refused it

I wanted to debug my local Python code as usual in VS-Code on Windows 10 via pressing F5: I started having this error already more than a year ago, but recently it became persistent. The entire error traceback: $ /usr/bin/env…
5
votes
3 answers

Java Selenium Webdriver Connection Refused

I am getting the all too common connection refused error on my selenium webdriver. The same code was executing a few weeks ago. I have been reading in circles through existing posts and have tried updating geckodriver and FireFox to no avail. I…
4
votes
0 answers

Ionic on Android: Redirect to http://localhost/

The Problem: The IONIC-Android application refuses a redirect to http://localhost/ sent from an SSO-site. And crashes with the following error: The Environment: Ionic 3 Angular Android 9.x Ionic Info: Ionic: …
1
2 3
21 22