mshonorato
(usa Debian)
Enviado em 29/11/2023 - 15:38h
Buckminster escreveu:
Verifique se a porta 21 está aberta:
# telnet seudominio.com.br 21 <<< em seudominio coloque o teu site.
Caso a porta estiver aberta dará algo parecido com
220 FTP Server ready.
Para verificar as portas:
# netstat -tunl
ou
# lsof -i
ou
# ss -tunelp
_________________________________________________________
Always listen the Buck!
Enquanto o cursor estiver pulsando, há vida!
# Resultado do telnet:
220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
220-You are user number 2 of 500 allowed.
220-Local time is now 15:31. Server port: 21.
220-This is a private system - No anonymous login
# netstat -tunl
$ netstat -tunl
Conexões Internet Ativas (sem os servidores)
Proto Recv-Q Send-Q Endereço Local Endereço Remoto Estado
tcp 0 0 0.0.0.0:7070 0.0.0.0:* OUÇA
tcp 0 0 127.0.0.1:5939 0.0.0.0:* OUÇA
tcp 0 0 127.0.0.1:631 0.0.0.0:* OUÇA
tcp 0 0 127.0.0.1:3306 0.0.0.0:* OUÇA
tcp 0 0 0.0.0.0:22 0.0.0.0:* OUÇA
tcp 0 0 0.0.0.0:80 0.0.0.0:* OUÇA
tcp 0 0 0.0.0.0:139 0.0.0.0:* OUÇA
tcp 0 0 0.0.0.0:445 0.0.0.0:* OUÇA
tcp 0 0 127.0.0.1:30900 0.0.0.0:* OUÇA
tcp 0 0 127.0.0.1:30800 0.0.0.0:* OUÇA
tcp6 0 0 ::1:3350 :::* OUÇA
tcp6 0 0 :::3389 :::* OUÇA
tcp6 0 0 :::22 :::* OUÇA
tcp6 0 0 :::139 :::* OUÇA
tcp6 0 0 :::445 :::* OUÇA
tcp6 0 0 :::1716 :::* OUÇA
tcp6 0 0 ::1:631 :::* OUÇA
udp 0 0 0.0.0.0:37339 0.0.0.0:*
udp 0 0 0.0.0.0:631 0.0.0.0:*
udp 0 0 0.0.0.0:50001 0.0.0.0:*
udp 0 0 224.0.0.251:5353 0.0.0.0:*
udp 0 0 224.0.0.251:5353 0.0.0.0:*
udp 0 0 0.0.0.0:5353 0.0.0.0:*
udp 0 0 0.0.0.0:42313 0.0.0.0:*
udp 0 0 0.0.0.0:55904 0.0.0.0:*
udp 0 0 192.168.0.255:137 0.0.0.0:*
udp 0 0 192.168.0.10:137 0.0.0.0:*
udp 0 0 0.0.0.0:137 0.0.0.0:*
udp 0 0 192.168.0.255:138 0.0.0.0:*
udp 0 0 192.168.0.10:138 0.0.0.0:*
udp 0 0 0.0.0.0:138 0.0.0.0:*
udp6 0 0 :::49670 :::*
udp6 0 0 :::5353 :::*
udp6 0 0 :::54704 :::*
udp6 0 0 :::1716 :::*
# lsof -i
$ lsof -i
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
kdeconnec 1470 mshonorato 16u IPv6 23438 0t0 UDP *:1716
kdeconnec 1470 mshonorato 17u IPv6 23439 0t0 TCP *:1716 (LISTEN)
skypeforl 1612 mshonorato 28u IPv4 3493727 0t0 TCP 192.168.0.10:57188->20.185.212.106:https (ESTABLISHED)
skypeforl 1612 mshonorato 29u IPv4 3866632 0t0 TCP 192.168.0.10:39872->20.185.212.106:https (ESTABLISHED)
skypeforl 1650 mshonorato 69u IPv6 27023 0t0 UDP *:54704
skypeforl 1650 mshonorato 71u IPv4 3723846 0t0 TCP 192.168.0.10:50847->40.87.19.190:https (ESTABLISHED)
firefox-e 3497 mshonorato 36u IPv4 3703157 0t0 TCP 192.168.0.10:43380->ec2-34-225-242-186.compute-1.amazonaws.com:https (ESTABLISHED)
firefox-e 3497 mshonorato 67u IPv4 3861163 0t0 TCP 192.168.0.10:58042->192.168.0.5:8089 (ESTABLISHED)
firefox-e 3497 mshonorato 86u IPv4 3874850 0t0 UDP *:42313
firefox-e 3497 mshonorato 91u IPv4 3713853 0t0 TCP 192.168.0.10:41666->134.209.115.64:https (ESTABLISHED)
firefox-e 3497 mshonorato 94u IPv4 2473326 0t0 TCP 192.168.0.10:53504->52.97.26.82:https (ESTABLISHED)
firefox-e 3497 mshonorato 101u IPv4 3873048 0t0 TCP 192.168.0.10:36998->eze03s36-in-f5.1e100.net:https (ESTABLISHED)
firefox-e 3497 mshonorato 107u IPv4 3874831 0t0 TCP 192.168.0.10:60174->gru14s27-in-f14.1e100.net:https (ESTABLISHED)
firefox-e 3497 mshonorato 110u IPv4 3780989 0t0 TCP 192.168.0.10:32794->93.243.107.34.bc.googleusercontent.com:https (ESTABLISHED)
firefox-e 3497 mshonorato 113u IPv4 3875538 0t0 UDP 192.168.0.10:42225->dns.google:domain
firefox-e 3497 mshonorato 118u IPv4 3875536 0t0 TCP 192.168.0.10:33124->jynx0002.email.locaweb.com.br:https (ESTABLISHED)
firefox-e 3497 mshonorato 130u IPv4 3701401 0t0 UDP *:37339
firefox-e 3497 mshonorato 167u IPv4 3866158 0t0 TCP 192.168.0.10:35554->52.97.23.226:https (ESTABLISHED)
firefox-e 3497 mshonorato 185u IPv4 3846928 0t0 TCP 192.168.0.10:40448->e3-ha.ycpi.bra.yahoo.com:https (ESTABLISHED)
telegram- 3937 mshonorato 40u IPv4 3749251 0t0 TCP 192.168.0.10:54106->149.154.175.54:https (ESTABLISHED)
remmina 4537 mshonorato 50u IPv4 47351 0t0 TCP 192.168.0.10:52380->192.168.0.254:ms-wbt-server (ESTABLISHED)
remmina 4537 mshonorato 82u IPv4 49244 0t0 TCP 192.168.0.10:58710->192.168.0.98:ms-wbt-server (ESTABLISHED)
chrome 4968 mshonorato 238u IPv4 53124 0t0 UDP mdns.mcast.net:mdns
chrome 5017 mshonorato 23u IPv4 1207160 0t0 TCP 192.168.0.10:36238->whatsapp-cdn-shv-01-gru2.fbcdn.net:https (ESTABLISHED)
chrome 5017 mshonorato 27u IPv4 3875535 0t0 TCP 192.168.0.10:53316->147.136.186.228:https (ESTABLISHED)
chrome 5017 mshonorato 29u IPv4 3783228 0t0 TCP 192.168.0.10:35396->jynx0002.email.locaweb.com.br:https (ESTABLISHED)
chrome 5017 mshonorato 30u IPv4 3875534 0t0 UDP 192.168.0.10:54078->dns.google:https
chrome 5017 mshonorato 66u IPv4 226755 0t0 UDP mdns.mcast.net:mdns
chrome 5017 mshonorato 95u IPv4 3196950 0t0 TCP 192.168.0.10:40092->147.136.186.217:https (ESTABLISHED)
ssh 8409 mshonorato 3u IPv4 112568 0t0 TCP 192.168.0.10:35408->192.168.0.99:38392 (ESTABLISHED)
telnet 187227 mshonorato 3u IPv4 3868904 0t0 TCP 192.168.0.10:35966->hm2503.locaweb.com.br:ftp (ESTABLISHED)