M
M
Merey Zhexembinov2017-01-16 07:13:06
linux
Merey Zhexembinov, 2017-01-16 07:13:06

Where is connection blocked in rhel 7?

Hello!
there is a host on rhel7, opened port 5055 in the firewall, and even through rich-rule explicitly indicated the address of the connected host - 192.168.xxx.xxx. but I can’t raise the connection in any way, telnet from 192.168.xxx.xxx says

Trying ***...
telnet: connect to address ***: Connection refused
telnet: Unable to connect to remote host: Connection refused

[*** ~]# firewall-cmd --list-all
public (default, active)
  interfaces: eno16780032
  sources: 
  services: dhcpv6-client ssh
  ports: 5055/tcp 5044/tcp
  masquerade: no
  forward-ports: 
  icmp-blocks: 
  rich rules: 
        *****************
        *****************
        rule family="ipv4" source address="192.168.xxx.xxx" port port="5000-9300" protocol="tcp" accept

Where else in the settings can there be blocking connections?
Z.Y. rummaged through the documentary

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Merey Zhexembinov, 2017-01-16
@Handsomer

the problem turned out to be in the config of the listening software - it was listening to another port, so the connection was not established

V
Vladimir, 2017-01-16
@n1cew0lf

ss -tlnp to studio.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question