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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
12 views

Can’t connect with SSH through two different ip range in Ubuntu

I have two range of ip , 192.168.33.xx and 192.168.63.xx , I try to connect from 33 to 63 with ssh and also the other way around , but it never works … the error message is errormessage And the debug ...
user avatar
0 votes
0 answers
18 views

Azure Virtual Machine can only connect to *.microsoft.com

I'm configuring a VM in Azure and when connecting to websites I get a RST response for every website other then *.microsoft.com domains. I can't figure out why this is, I have tested this on both ...
user avatar
0 votes
0 answers
38 views

Apache2 [core:warn] [pid 1761421] (111)Connection refused: AH00056: connect to listener on [::]:80

We have a vps with LAMP stack running php7.4-fpm and php8.1-fpm. There is a connection refused on the main Apache2 process ● apache2.service - The Apache HTTP Server Loaded: loaded (/lib/systemd/...
user avatar
0 votes
0 answers
9 views

nginx reverse-proxy 502 (111: connection refused) while connecting to upstream [duplicate]

I have the following nginx configuration: server { listen: 8080; location / { proxy_pass https://somehost.abc.xyz; proxy_redirect off; ...
user avatar
  • 13
0 votes
1 answer
2k views

How can I further troubleshoot a "502 Bad Gateway" error?

I am running a set of services in a Docker environment. All services are behind the same nginx reverse proxy container that encrypts with letsencrypt and splits the incoming traffic based on ...
user avatar
1 vote
0 answers
197 views

Can't see node STRAPI CMS application from outside - ERR_CONNECTION_REFUSED

I tried to run STRAPI CMS on my VPS. App runs via PM2 and internal curl is ok, I see response from app curl -v http://127.0.0.1:1337 But external curl is problem, nowadays I want to access just it ...
user avatar
1 vote
0 answers
129 views

Connection Refused when Deploying Ruby on Rails application on Ubuntu Server

I'm pretty new to the DevOps world so I believe it is likely I'm missing something simple or not looking in the right places. I have deployed a Ruby on Rails application to an Ubuntu Server (on Linode)...
user avatar
  • 111
0 votes
2 answers
384 views

domain name getting connection refused where as dynamic domain name website loading fine

I have an Ubuntu 20.04 Focal server running with ufw firewall, nginx running with php8.0-fpm, and all needed packages with MySQL server. It is all accessible from outside internal network using ...
user avatar
2 votes
0 answers
191 views

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, ...
user avatar
0 votes
1 answer
61 views

Common reasons for refused connection

When you try to access a HTTP server (e.g., www.example1.com) and the connection is refused, what could be some common reasons at the server end?
user avatar
0 votes
1 answer
232 views

Why does Port 9721 intermittently refuse connections on Apache Tomcat 8.5 running on Windows Server 2012 R2?

Web Server: Apache Tomcat 8.5 Operating System: Windows Server 2012 R2 Port: 9721 We are running a Web server on our internal network and have about 8500 kiosks connecting through our VPN to a Java ...
user avatar
0 votes
0 answers
3k views

nginx connect() failed (111: Connection refused) while connecting to upstream [Mastodon]

I am setting up a Mastodon server on Docker on Ubuntu. The server is up and running but when I try to access the site from a browser I get the error 502 Bad Gateway. I have checked that ufw is ...
user avatar
2 votes
1 answer
1k views

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 ...
user avatar
  • 121
0 votes
0 answers
49 views

Why can some users connect to a DB and others can't?

I have a geospatial database that one of my users needs to connect to. Whenever he tries to connect from his workstation he gets an invalid connection/connection refused error. He is not able to ...
user avatar
  • 1
0 votes
1 answer
1k views

Failover cluster SQL server 2016: 'the remote computer refused the connection'

BACKGROUND We have a new SQL server 2016 failover cluster (without Always On) (clu1) with 2 nodes (sql1-2) and 4 roles/instances (app1-4) Connections from de nodes to the cluster instances work fine ...
user avatar
0 votes
2 answers
3k views

Can not access https from my ubuntu EC2 instance

I just created a new "SSH key with a pass phrase" for github private repo access from my AWS EC2 instance. Now I clone my repos fine. But the issue started that I can not access any https. It is ...
user avatar
1 vote
0 answers
636 views

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 -...
user avatar
0 votes
1 answer
3k views

Connection refused when accessing container from local network through reverse proxy

I am running Proxmox VE on a root server. There are several virtual containers, on of them acts as a reverse proxy who does TLS termination. On the proxmox machine iptables handles port forwarding ...
user avatar
-1 votes
1 answer
65 views

Firewall refuse my connection to DB

We are working on software that require to connect to database on the server (Win2012)(LAN), after activating windows firewall, we couldn't connect to DB. I've set a rule for inbound and I Excluded ...
user avatar
2 votes
1 answer
2k views

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-...
user avatar
0 votes
1 answer
8k views

unix:////tmp/supervisor.sock refused connection

Blessings guys... first, sorry for my bad English, my first language is Spanish. So, I have a website for translations. We translate from English to Spanish (tv shows), the thing is that we have a ...
user avatar
1 vote
1 answer
2k views

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" ...
user avatar
0 votes
1 answer
1k views

ssh server locally accessible, refusing remote connection

I've come across bunch of documentation on google/stack on this issue. but didn't find any solution I've a raspberry pi ssh server in my LAN that I want to ssh from internet (Outside the LAN). I ...
user avatar
0 votes
1 answer
612 views

Amazon AWS does not allow me to connect to machine with public IP

I've created a machine (EC2) with public IP. It's running Linux. output of uname -a: 4.4.0-53-generic #74-Ubuntu SMP Fri Dec 2 15:59:10 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux The (only) security ...
user avatar
-1 votes
1 answer
409 views

How to backup database on localhost when cannot connect to MySQL?

I'm having 'HY000/2002): connection refused' issue with Lampp on Linux Mint on localhost. It just started to act this way with no known reason. I've spent hours to fix the problem, no solution yet. ...
user avatar
  • 1
1 vote
2 answers
2k views

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 ...
user avatar
0 votes
1 answer
705 views

MS SQL Server 2008 drops connections if number of connections is large

My SQL Server instance is configured for unlimited number of connecting users (DB right click - properties - connections). But when my script tries to execute about 500 simultaneous queries a big part ...
user avatar
-2 votes
1 answer
984 views

RedHat Apache: Connection Refuse [duplicate]

Last weekend our ORG pushed a major set of patches to our Redhat servers. One of our applications went down and we've had huge issues trying to connect to it from within the network or outside. At ...
user avatar
0 votes
3 answers
45k views

can't connect to mikrotik via Winbox or Http

We have a Mikrotik RB 750GL and I can't connect to it via Winbox or Http. There is a PPTP connection (Running) between us (On Internet), That RB is PPTP Client. Winbox stops on retrieving ...
user avatar
0 votes
0 answers
129 views

Leaseweb: after upgrading VM from Ubuntu 14.04 to 16.04, docker refuses connections to localhost

I'm totally at loss here. After upgrading to Ubuntu 16.04 from 14.04 on Leaseweb virtual server, docker no longer accepts connections to localhost. Using original CouchBase server image, running the ...
user avatar
4 votes
1 answer
197 views

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 ...
user avatar
0 votes
2 answers
3k views

VPN - Intermittent connection issues

Most of the time, our VPN (L2TP over IPSec, SoftEther) works great. All the users (3 or less concurrent) can connect without problems. Lately, we have been noticing that we sometimes can't access ...
user avatar
  • 233
0 votes
1 answer
265 views

AWS EC2 Instance rejected public key

I just launched a AWS EC2 Image today, I got to authenticate successfully and I did the following changes: sudo yum update Install Oracle JDK 8_92 using wget Remove all other java options export ...
user avatar
  • 153
0 votes
2 answers
7k views

Apache 2.4 https server gives connection refuse error on mac osx

I'm a newbie on Apache and I was set up my https server on OS X EI follows this article. But I always get refuse connection error, please help. This is my httpd-ssl.conf file: <VirtualHost *:443&...
user avatar
  • 101
2 votes
2 answers
17k views

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: <Connector port="443" protocol="org.apache....
user avatar
-3 votes
1 answer
47 views

Websites from the same hosting doesn't open only from my router/proovider

Faced with a strange problem. I have a hosting with few websites. Starting from today I can't navigate any of them from any device, connected to home wifi. But I can ping each domain. Chrome fails ...
user avatar
  • 105
-1 votes
1 answer
2k views

port listening in netstat can't telnet

I'm trying to connect to port 8020 on a CentOS vm but I'm getting telnet: connect to address <public_ip>: Connection refused when I run telnet public_ip 8020. When I run netstat -anp | grep 8020 ...
user avatar
  • 119
0 votes
1 answer
714 views

Connection refused on RHEL localhost with running server

I'm running a Java based system on CentOs and I sometimes see that clients of a service experience "Connection refused" errors for short periods. The interesting is that the server is, at the same ...
user avatar
  • 141
142 votes
2 answers
872k views

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 ?
user avatar
  • 113k
1 vote
3 answers
1k views

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 ...
user avatar
  • 12.2k
1 vote
1 answer
3k views

OpenShift: MySQL PDO 'connection refused', works locally [duplicate]

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: ...
user avatar
  • 111
4 votes
3 answers
456 views

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 ...
user avatar
2 votes
1 answer
2k views

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 ...
user avatar
3 votes
3 answers
76k views

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: ...
user avatar
  • 365
4 votes
1 answer
4k views

Installing gitosis and closed port? [duplicate]

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 ...
user avatar
1 vote
2 answers
7k views

CentOS server refusing all connections except for ssh telnet and http [duplicate]

For some reason my CentOS VPS refuses all connections except for HTTP, SSH and Telnet. Whenever I try to connect to a port such as 25 (SMTP) or even a random port such as 225 I get a connection ...
user avatar
5 votes
2 answers
14k views

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 ...
user avatar
  • 877