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.

51 questions
0
votes
2 answers

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 servers behind the VPN. The connection to the VPN…
surj
  • 243
  • 4
  • 15
0
votes
1 answer

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 JAVA_HOME and alter bash_profile to do the same…
HFR1994
  • 153
  • 5
0
votes
2 answers

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: #General setup for the virtual host …
KudoCC
  • 101
  • 1
  • 3
0
votes
1 answer

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 time, serving requests. The error is…
allprog
  • 141
  • 1
  • 4
0
votes
0 answers

I can ping the PC from remote server but can't connect to a port

I did my research but I still can't figure out the solution. I want to connect to port 8888 of my PC from a remote server. When I ping my PC from a remote server with ping , it pings. When I try to connect to 8888 port using telnet
0
votes
0 answers

EC2 port 80 refused to connect on public IP but can connect using private IP

Question simplified I can do curl {publicip}:4321 but not curl {publicip}:80 or curl {publicip}. But from the server's ssh, i can run curl {privateip}:80 and curl localhost:80 without any issues. And also, both port 80 and port 4321 are added to…
0
votes
0 answers

Intermittent Inbound Traffic Blocked Windows Server 2012 R2

We manage a number of pcs running Windows Server 2012 R2 on various hardware (computers have differing network cards etc.). These machines are connected at different physical locations to a physical gateway/firewall which are then connected to each…
0
votes
1 answer

SSH TCP Forwarding and VSCode

Thanks for taking a look at my question. I've been writing code from my desk to a remote server managed by WHM/cPanel (for which I have full root access) with VS Code Remote SSH functionality for a few months without any major connectivity trouble.…
David Mora
  • 426
  • 1
  • 5
0
votes
0 answers

cURL error 7: Failed to connect to localhost port 443: Connection refused

OS version: Ubuntu 20.04 x86_64 Plesk version: Plesk Obsidian 18.0.47.5 Hi, I am running XenForo Forum on my Plesk which running behind Cloudflare. I get following erro log, which is showing me that the curl connection to localhost on port 443 is…
Adem Aga
  • 1
  • 1
  • 1
0
votes
0 answers

Drop connection without sending packets

I would like to prevent default virtual host behaviour by dropping the connection, so that visitors who navigate to my server via IP or fqdn that isn't included in my virtual hosts get no indication that any web server exists (other than seeing open…
jackar
  • 11
  • 2
0
votes
1 answer

Connection Refused (GRE Tunnel - FiveM)

I am running a game server using Vultr. What I am trying to do is run the game server (backend server) through a GRE Tunnel. For this, I am using x4b.net for my GRE Tunnel. A few things to note: The guide that I used is listed here:…
0
votes
1 answer

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 subdomains. Today all of a sudden (while I was tinkering…
0
votes
2 answers

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 dynamic domain name. When I point my domain to it by…
0
votes
1 answer

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
1 answer

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 servlet that is running on this port: :9721 This…