Ok, so let's recapitulate:
I have CentOS 5 X86_64 and Informix server 9.40 UC2
1. I can ping the linux machine from the windows machine.
2. I can connect to port 22 using telnet.
3. I can connect to port 3306 *(mysqlserver) from the localhost linux machine server.
[root@xxxx ~]# telnet localhost 3306
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
4
5.0.45!{n4V4B/,b"~w[@l$jma~quit
Bad handshakeConnection closed by foreign host.
[root@xxxx ~]#
4. I can connect to port 3306 *(mysqlserver) from a windows machine using telnet.
5. The iptables are default policy set to accept. Anyway I have added the exception for the port 1526 tcp and udp, just to be done.
6. I have disabled the SE linux enforcing.
7. I can connect to port 1526 to the linux machine but only from the localhost - using root.
[root@xxxx ~]# telnet localhost 1526
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
quit
Connection closed by foreign host.
[root@xxxx ~]#
Dear centos82,
I said I have the policy of iptables (chains) set to accept as default. Did iptables -F and put the exception iptables command for the port 1526, but I'm sure I didn't have to do that. Anyway, here's the output log:
[root@xxxx ~]# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT udp -- anywhere anywhere udp dpt
dap-np
ACCEPT tcp -- anywhere anywhere tcp dpt
nserv
ACCEPT udp -- anywhere anywhere udp spt
dap-np sta te ESTABLISHED
ACCEPT tcp -- anywhere anywhere tcp spt
nserv stat e ESTABLISHED
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain RH-Firewall-1-INPUT (0 references)
target prot opt source destination
[root@xxxx ~]#
And you are very right
I can connect to 1526 from localhost but can't connect from a remote windows machine.