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

Hadoop 2.6 multinode cluster failed on connection exception when running example jar

Any example hadoop 2.6 mapreduce application is giving same error- java.net.ConnectException: Connection refused; The error output is: hduser@localhost:~$ hadoop jar /usr/local/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-examples-2.6.0.jar…
rajesh
  • 313
  • 3
  • 9
0
votes
1 answer

Jelastic - ImageIO.read() connection refused

when reading an image via ImageIO.read(url) I am getting a connection refused error. The URL consists of the public IP address + relative path to image. Is the error because of firewall settings? Over the browser, the URL works.
Chris
  • 89
  • 1
  • 10
0
votes
1 answer

OpenShift: MySQL PDO 'connection refused', works locally

I have an API I want to deploy to OpenShift, everything works locally, but when trying to use it online I get some problems. When trying to connect to the database, using PDO, I get this error: Failed to connect to the database: SQLSTATE[HY000]…
ThriceGood
  • 1,633
  • 3
  • 25
  • 43
0
votes
3 answers

Cannot connect Java to CONNX: java.sql.SQLException: Connection refused: connect

I'm trying to connect a Java based program running through Tomcat to a CONNX database, but I'm getting the error in the title. This is the code I have, with some identifying information removed: String driver =…
Joe
  • 1
  • 1
0
votes
0 answers

Nginx reverse proxy: Connection Refused vs Empty Response

I want to check if port is open using javascript and reverse nginx proxy. I have scenario, when page behind nginx proxy can either return Empty Response, or return Connection Refused (if the service is down). Both times, nginx reverse proxy will…
MasterClass
  • 355
  • 1
  • 3
  • 10
0
votes
0 answers

Spring : No connection could be made because the target machine actively refuse it

I have developed SFTP, MQ using Apache Camel + Spring DSL and restful web service. For Restful Web service , I have used Spring MVC restful. I am getting below message when I call my web service.But, I verified that MQ is partially working fine…
Gnana
  • 2,130
  • 5
  • 26
  • 57
0
votes
1 answer

Cross origin request not working in Cordova with AngularJS

I am developing mobile application with Cordova tool and using angularJS. I have written services in different project. I need to call those services in my cordova application, Whenever I try to call service it giving me…
Keval Patel
  • 925
  • 4
  • 24
  • 46
0
votes
0 answers

I have breakpoints in my eclipse project and i want to debugg my app but it giving error of "connection refused by VM"

I have breakpoints in my eclipse project and i want to debugg my app but it giving error of "connection refused by VM" I am using windows 8.1(64 bit) eclipse kepler(32 bit) jdk 1.7(32 bit)
0
votes
0 answers

Hadoop Connection Refused exception without any reason

I was able to execute this and other commands; hadoop fs -ls hdfs://101-master:50000 I rebooted my cloud instances from OpenStack horizon web interface and started getting this exception for no reason. I did not make any changes to the…
Tariq
  • 2,274
  • 4
  • 24
  • 40
0
votes
1 answer

Failed to connect to remote VM

I configure tomcat to debug remotely from Eclipse: start "Configure Tomcat". Go to Java tab. add the following line: -Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n Then start the server. But I don't see no one log in…
Wolandello
  • 127
  • 4
  • 15
-1
votes
2 answers

Continuously Facing "could not connect to server: Connection refused" Issue with PostgreSQL

I'm encountering a persistent issue with PostgreSQL where I repeatedly face the error message: could not connect to server: Connection refused Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432? This…
-1
votes
2 answers

AWS EC2 SSH crashes on running a script/program/process

Problem: I am running into an issue with my AWS EC2 instance where I am trying to ssh to the instance from both the mac terminal and Visual studio code. The ssh gets connected initially without any problem from the terminal & VS Code but when I try…
-1
votes
1 answer

Google Cloud Hosted VM. This site can’t be reached refused to connect

Forgive me here, I am largely post-technical for 10+ years and taken this as far as I can. I can probably take any advice and run with it, but may ask for some specifics to help if troubleshooting tools or commands are required. So please forgive…
-1
votes
2 answers

Java Beginner - Issue with Socket Connection refused

I am complete beginner and i have assignment to send something to server and get it back while using threads too. My problem is that no matter which port I use, I get connection refused. I think it might something to do with threads, but I am unsure…
-1
votes
1 answer

Trying, without success, to use a new socket after closing the old one

for a classwork i've to close all opened sockets after client sends "NEWPORT " and assign the "n-port" to a new socket, and from that moment i've to use the socket created for the new incoming connections, but when i try to connect to new one the…
1 2 3
21
22