Инструменты пользователя

Инструменты сайта


os:linux:troubleshooting

Различия

Показаны различия между двумя версиями страницы.

Ссылка на это сравнение

Предыдущая версия справа и слеваПредыдущая версия
Следующая версия
Предыдущая версия
os:linux:troubleshooting [06.05.2024 14:47] – [Кончилось место на диске] viacheslavos:linux:troubleshooting [20.10.2024 07:52] (текущий) – [Доступен ли порт] viacheslav
Строка 41: Строка 41:
 nc -zv 127.0.0.1 20-30 nc -zv 127.0.0.1 20-30
  
-# Bash тоже умеет (ждёт, как и telnet):+# Bash тоже умеет:
 # If host is a valid hostname or Internet address, and port is an integer port number # If host is a valid hostname or Internet address, and port is an integer port number
 # or service name, bash attempts to open a connection to the corresponding socket. # or service name, bash attempts to open a connection to the corresponding socket.
Строка 49: Строка 49:
 /dev/udp/host/port /dev/udp/host/port
  
-admin:~cat < /dev/tcp/127.0.0.1/22 +echo 2> /dev/null > /dev/tcp/192.168.1.6/443 && echo Success || echo Fail 
-SSH-2.0-OpenSSH_6.2p2 Debian-+Success
-^C pressed here+
  
-# telnet+# telnet (ждёт)
 telnet 127.0.0.1 22 telnet 127.0.0.1 22
 </code> </code>
 https://superuser.com/questions/621870/test-if-a-port-on-a-remote-system-is-reachable-without-telnet https://superuser.com/questions/621870/test-if-a-port-on-a-remote-system-is-reachable-without-telnet
os/linux/troubleshooting.1715006837.txt.gz · Последнее изменение: 30.07.2024 19:20 (внешнее изменение)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki