Questions tagged [connection-refused]

Connection refused: A message provided when a remote server is not listening on a particular IP:Port or a firewall is rejecting a connection with icmp-port-unreachable.

We have a canonical Q&A for this. Please read it carefully

What causes the 'Connection Refused' message?

and save everyone the effort of closing your question as a duplicate of it.

48 questions
144
votes
2 answers

What causes the 'Connection Refused' message?

This is a Canonical Question about Connection Refused We see a lot of questions to the effect When I try to connect to a system I get a message Connection refused Why is this ?
user9517
  • 114,104
  • 20
  • 206
  • 289
5
votes
2 answers

Cannot connect to my Cassandra

My Cassandra used to work with no problems. I was able to connect with no problems but now for some reason it doesn't work anymore. [default@unknown] connect localhost/9160; Exception connecting to localhost/9160. Reason: Connection refused. and…
jnbdz
  • 897
  • 5
  • 22
  • 43
4
votes
1 answer

postfix force to send sequential

How can I force postfix to send out mails sequentially and not simultaneously? It should open only one SMTP connection at a time. It should only affect outgoing SMTP connections. Incoming connections can still be handled simultaneously. Why? My VPS…
Stefan Profanter
  • 365
  • 1
  • 5
  • 16
4
votes
3 answers

how to avoid timeouts during server reboot

I am running into issues with a site that is using DNS round robin for failover. There are two webservers. When I turn off apache on one box, everything is fine. When browsers try to go to the webserver with apache turned off, it gets a connection…
user788171
  • 279
  • 1
  • 5
  • 12
4
votes
1 answer

Installing gitosis and closed port?

I'm trying to install gitosis on a Server (hosted by OVH and running Ubuntu server 11.04). I've done it a few times and never had any problems. But this time I have something very wired when I simply try to clone gitosis. [root@ovks-1:~/]#git clone…
Nicolas GUILLAUME
  • 281
  • 1
  • 4
  • 10
3
votes
3 answers

How to to avoid "Port 22: Connection refused" error on SSH port (22)?

I have a server where I just use openssh, openvpn and rabbitmq (which requires a lot of erlang dependencies). Every time I reboot my server I can't access to it anymore getting Port 22: Connection Refused And I have to install everything from…
AAlvz
  • 365
  • 4
  • 7
  • 16
2
votes
1 answer

Windows Server 2016 VPN / RAS Connection fails

Sorry for the screenshots being in german. Environments: Server: Windows Server 2016 Client: Windows 10 Pro My goal: Running a VPN Service on the Server Connecting to it from the client What I've done: I've added the DirectAccess and VPN…
2
votes
1 answer

pgadmin won't connect to Postgresql via ssh on macOS

I am trying, with no success, to connect pgAdmin 4 to my Postgresql installation on Linode using ssh tunnel as specified in https://linode.com/docs/databases/postgresql/securely-manage-remote-postgresql-servers-with-pgadmin-on-macos-x/ It did not…
2
votes
2 answers

Tomcat refusing connections on port 443

I have a Tomcat7 installation on CentOS 6.7 that should only allow connections on port 443. The /etc/tomcat/server.xml file is configured as such:
Roy Hinkley
  • 527
  • 4
  • 13
  • 20
2
votes
1 answer

Cannot curl from the same server when it has PREROUTING ip forwarding

I have a Ubuntu web server that uses iptables PREROUTING to forward port 80 to 8000. So the web process listens on port 8000. Now I want to make a curl from the same server to a web application running on it. But this issues a Connection refused: $…
Gabriel Petrovay
  • 248
  • 3
  • 11
2
votes
0 answers

Workstations lose connection to network shares and need to be rebooted in order to reconnect to shared resources

I have a situation where workstations will lose the connection to network shares and printers during the night and have to be rebooted in order to reconnect, afterwards everything works correctly, this does not happen every night, and it does not…
1
vote
0 answers

transfer file from windows machine to hortonworks sandbox HDFS

I want to upload one file from a local windows machine to HDFS. I am using Hortonworks Sandbox for Hadoop. I have tried the following command to transfer file, but it shows connection refused. scp -p 22 SampleData_1.csv root@localhost: scp -p 22 -r…
JAy PaTel
  • 11
  • 3
1
vote
1 answer

Can't access with public IP, but with localhost

I'm running InluxDB on my server in docker container. this command is ok, when executed from the same server: curl -G http://localhost:8086/query -u my_user --data-urlencode "q=SHOW DATABASES" authetification is ok and it prints the databases. But…
1
vote
2 answers

How to access a proxy enabled internet with ssh tunneling?

I have two pc (A & B, Both are running ubuntu 16.04) that are connected through Local Network. PC-A has Internet connection. I want to browse internet in PC-B using ssh tunneling. I used the command in PC-B - ssh -D 9999 user@IP_ADDRESS Then i set…
Sanjay Prajapat
  • 151
  • 1
  • 2
  • 7
1
vote
3 answers

Connection refused on Ubuntu EC2 after EBS expansion

The problem After starting an Ubuntu 14.04 EC2 instance with expanded HD volumes, ssh-ing into it fails with Connection refused. The EBS expansion process One of my Ubuntu 14.04 EC2 machines was running low on HD size. In order to solve the problem,…
Adam Matan
  • 12,504
  • 19
  • 54
  • 73
1
2 3 4