Failed connect to localhost:8090;

Issues related to configuring your network
Post Reply
minotor
Posts: 3
Joined: 2017/10/12 06:40:48

Failed connect to localhost:8090;

Post by minotor » 2017/10/12 06:48:09

Hi there,
I've installed Centos 7 with virtualmin on a distant server, and I would like to test Yacy crawler, which listens on port 8090.
So I opened 8090 port as you see :
[root@ns395555 yacyuser]# firewall-cmd --list-ports
587/tcp 53/tcp 20/tcp 2222/tcp 10000-10010/tcp 20000/tcp 53/udp 8090/tcp 9200/tcp

I started yacy, but connexion is refused on port 8090

[root@ns395555 yacyuser]# curl http://localhost:8090
curl: (7) Failed connect to localhost:8090; Connexion refusée

So I don't understand what happens. I tried to open another port for elastic search and this is the same result.

User avatar
TrevorH
Site Admin
Posts: 33219
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Failed connect to localhost:8090;

Post by TrevorH » 2017/10/12 08:01:53

If you can't get to localhost:8090 then it's not a firewall problem, it's more likely your app isn't even listening on that port.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

minotor
Posts: 3
Joined: 2017/10/12 06:40:48

Re: Failed connect to localhost:8090;

Post by minotor » 2017/10/12 08:33:41

TrevorH wrote:If you can't get to localhost:8090 then it's not a firewall problem, it's more likely your app isn't even listening on that port.
You're right, I've disabled firewalld and I still can not get port 8090. :cry:

User avatar
TrevorH
Site Admin
Posts: 33219
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Failed connect to localhost:8090;

Post by TrevorH » 2017/10/12 08:58:51

ss -antup | grep 8090
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

minotor
Posts: 3
Joined: 2017/10/12 06:40:48

Re: Failed connect to localhost:8090;

Post by minotor » 2017/10/12 15:16:00

OK this was a problem of Yacy configuration. Thanks

Post Reply