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
3
votes
2 answers

Android Studio Failed to fetch - Connection refused: connect

Android Studio Setup Wizard (studio64.exe) is not able to fetch some XMLs. I have set in studio64.exe.vmoptions -Djava.net.preferIPv4Stack=true -Dhttp.proxyHost=... -Dhttp.proxyPort=... Also tried -Dhttp.proxyHost=www.google.com…
syr
  • 836
  • 1
  • 12
  • 28
3
votes
2 answers

Jersey RESTful Web Service Connection Refused

I am trying to run a Jersey server on my local OS X machine. So far, I have executed these three commands as per the Jersey website instruction: mvn archetype:generate -DarchetypeArtifactId=jersey-quickstart-grizzly2…
arik
  • 28,170
  • 36
  • 100
  • 156
2
votes
0 answers

How can I resolve the 'connection refused' error in seaborn's sns.load_dataset() function?

While searching for this issue, I found this- Connectionrefusederror: [errno 111] connection refused is an error message that the Python “socket()” function will show when it cannot connect to the server due to an error or setting from your client…
2
votes
0 answers

Connection refused Cordova Android (localhost)

When running my App on Android, I get following Error message when trying to authenticate with the Spotify API (after redirecting back): net::ERR_CONNECTION_REFUSED (http://localhost/index.html#access_token=...) Logging in works, but redirecting…
2
votes
1 answer

How to resolve "curl: (7) Failed to connect to localhost port 5001: Connection refused" in crontab?

I'm trying to get some json data from my API. My API is running in docker container. When I want to see this data, I just go to the http://localhost:5001/v1/executions endpoint and I can view my data as shown in the image below: This is my API's end…
2
votes
1 answer

HTTP connection refused between two docker containers, whereas from outside both connectable

Try to make a REST request between 2 docker-containers. To be more explicit, I have 2 images of SpringBoot REST-services (A and B), A is calling B via HTTP. Issue When I run them locally (e.g. in IDE) they communicate fine. But when I run them in…
2
votes
2 answers

oraclecloud ubuntu20 Connection refused

I have a strange problem, I installed various services directly on the server, but I can't access them (only happens on OracleCloud's server, I have never encountered this problem with other Clouds). The following is the introduction of my test,…
Z Hu
  • 706
  • 1
  • 3
  • 13
2
votes
1 answer

Gmail API: Connection Refused

When calling getCode(), getToken(code), and getEmailData(token) from the below class in succession, I get the error POST http://localhost:9000/api/email net::ERR_CONNECTION_REFUSED on const { data: { messagesTotal }, errors, } =…
2
votes
1 answer

Why Kubernetes services not working properly on Minikube? (connection refused)

I'm learning Kubernetes over Minikube. My demo consists of a Flask API and a MySQL Database. I made all the .yaml files but something strange happens with services of the deployments... I cannot communicate with the API externally (neither with…
2
votes
3 answers

Mysql on docker gives "Connection refused" error

I created my Laravel project with docker-compose. I created a database called fhblog in my local. When I enter the php container and run the php artisan migrate command, I get the following error. SQLSTATE[HY000] [2002] Connection refused (SQL:…
2
votes
2 answers

Server code actively refuses to connect with Udacity's Self Driving Car Simulator (Port 4567)

So, I'm currently experimenting with Udacity's self driving car simulator (simulator), but when running the drive.py and simulator files, the connection is never established - it simply says "accepeted", rather than actually connecting. When I…
adi dew
  • 25
  • 3
2
votes
1 answer

Python ConnectionRefusedError: [Errno 111] Connection refused on Docker container

I have a simple Python script, that creates a Docker container of choice, and then creates a TCP tunnel that forwards requests to it. I use sockets within Python to forward the data sent in between the client and Docker container. My piece of code…
dodancs
  • 357
  • 1
  • 5
  • 15
2
votes
1 answer

Nginx HTTPS Connection refused

I'm having trouble getting SSL to work with my Nginx installation. I found a couple of other questions related to this but they did not fix my problem. Checks I did: nginx -t returns with no errors ufw disable to let all traffic trough netstat…
jaapiyo
  • 23
  • 1
  • 5
2
votes
1 answer

Can't access Service via Kubernetes Service with specified endpoints

I've created a Kubernetes Service whose backend nodes aren't part of the Cluster but a fixed set of nodes (having fixed IPs), so I've also created an Endpoints resource with the same name: apiVersion: v1 kind: Service metadata: name: hive spec: …
Shubham
  • 2,847
  • 4
  • 24
  • 37
2
votes
1 answer

net::ERR_CONNECTION_REFUSED using websockets

I'm trying to create a websocket without any framework, in vanilla JavaScript. I'm trying to send a basic text websocket, but it keeps throwing me the error net::ERR_CONNECTION_REFUSED Here's the code on repl.it I have a Content Security Policy…
lolfail
  • 124
  • 2
  • 12
1 2
3
21 22