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
-1
votes
1answer
29 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 ...
1
vote
0answers
47 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 ...
0
votes
0answers
27 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)...
0
votes
2answers
67 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 ...
2
votes
0answers
110 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, ...
0
votes
1answer
39 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?
0
votes
0answers
47 views

Non-firewall reasons that can cause Linux to refuse all connections?

I have a KVM guest server running Samba (AD DC), Freeradius, Lighttpd (for certain trivial requests), Exim4 (for local mail) and SSH. The Guest is running Debian Buster, whereas the host is running ...
0
votes
1answer
92 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 ...
0
votes
0answers
2k 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 ...
1
vote
1answer
832 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 ...
0
votes
0answers
43 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 ...
0
votes
1answer
893 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 ...
0
votes
2answers
2k 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 ...
1
vote
0answers
474 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 -...
0
votes
1answer
2k 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 ...
-1
votes
1answer
49 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 ...
2
votes
1answer
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-...
0
votes
1answer
7k 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 ...
1
vote
1answer
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" ...
0
votes
1answer
914 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 ...
0
votes
1answer
505 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 ...
-1
votes
1answer
252 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. ...
1
vote
2answers
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 ...
0
votes
1answer
634 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 ...
-2
votes
1answer
877 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 ...
0
votes
3answers
39k 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 ...
0
votes
0answers
122 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 ...
4
votes
1answer
142 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 ...
0
votes
2answers
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 ...
-1
votes
1answer
241 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 ...
0
votes
2answers
6k 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&...
2
votes
2answers
15k 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....
-3
votes
1answer
43 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 ...
-1
votes
1answer
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 ...
0
votes
1answer
648 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 ...
131
votes
2answers
800k 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 ?
1
vote
3answers
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 ...
1
vote
1answer
2k 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: ...
4
votes
3answers
386 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 ...
2
votes
1answer
1k 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 ...
3
votes
3answers
75k 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: ...
4
votes
1answer
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 ...
1
vote
2answers
6k 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 ...
4
votes
2answers
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 ...