dragoso
(usa Ubuntu)
Enviado em 18/08/2018 - 09:23h
Fala galera beleza? eu estou com um problema em minha conexão com o servidor, e achou que é a porta.
eu preciso liberar as portas 3306(acesso remoso mysql) 7575...7595 8484.
Ja utilizei os comandos :
iptables -A INPUT -p tcp --dport 3306-j ACCEPT
iptables -A INPUT -p tcp --dport 7575...7595-j ACCEPT
iptables -A INPUT -p tcp --dport 8484-j ACCEPT
iptables -A INPUT -p udp--dport 3306-j ACCEPT
iptables -A INPUT -p udp--dport 7575...7595-j ACCEPT
iptables -A INPUT -p udp--dport 8484-j ACCEPT
netstatus -ant responde isso....
root@ns389376:~/RealMS0.01# netstat -ant
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.53:53 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:3306 127.0.0.1:55056 ESTABLISHED
tcp 0 0 91.121.76.228:22 179.199.42.37:60424 ESTABLISHED
tcp 0 0 127.0.0.1:3306 127.0.0.1:55052 ESTABLISHED
tcp 0 0 127.0.0.1:3306 127.0.0.1:55046 ESTABLISHED
tcp 0 256 91.121.76.228:22 179.199.42.37:60443 ESTABLISHED
tcp 0 0 127.0.0.1:3306 127.0.0.1:55044 ESTABLISHED
tcp6 0 0 :::8484 :::* LISTEN
tcp6 0 0 ::1:53 :::* LISTEN
tcp6 0 0 :::22 :::* LISTEN
tcp6 0 0 :::7575 :::* LISTEN
tcp6 0 0 :::7576 :::* LISTEN
tcp6 0 0 :::7577 :::* LISTEN
tcp6 0 0 ::1:953 :::* LISTEN
tcp6 0 0 :::7578 :::* LISTEN
tcp6 0 0 127.0.0.1:55052 127.0.0.1:3306 ESTABLISHED
tcp6 0 0 127.0.0.1:55046 127.0.0.1:3306 ESTABLISHED
tcp6 0 0 127.0.0.1:55056 127.0.0.1:3306 ESTABLISHED
tcp6 0 0 127.0.0.1:55044 127.0.0.1:3306 ESTABLISHED
tcp6 47 0 91.121.76.228:8484 179.199.42.37:60533 ESTABLISHED
na porta 8484 ate aparece a conexao ativa, porque a aplicação ate loga. mas ela nao consegue estabelecer na porta 7575...7595
vlw pessoal