※ 引述《piligo (霹靂狗)》之銘言:: 請問,在dos下有沒有相關工具可以測試本機的某個Port有沒有開: 甚至可以達到查出該Port是對應哪支程式: 我知道有netstat和telnet工具可以查出Port有沒有開: 但是問題來了netstat是列出所有,我只需要偵測單一Port: telnet在Win7還要另外安裝啟動: 干脆直接找第三方工具比較快: 謝謝 透過CurrPorts來運用,檢測FTP Port cports.exe /filter "include:local:tcp:21" /DisplayClosedPorts /DisplayEstablished /scomma ftpcheck.txt type ftpcheck.txt|find "21" >nul if %ERRORLEVEL% == 0 (FOR /F "tokens=1 delims=," %%i in (ftpcheck.txt) do (echo %%i佔用FTP Port)) else (echo FTP Port可使用) -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 59.104.197.108※ 文章網址: http://www.ptt.cc/bbs/EZsoft/M.1414122129.A.A20.html
This entry passed through the Full-Text RSS service - if this is your content and you're reading it on someone else's site, please read the FAQ at fivefilters.org/content-only/faq.php#publishers.
You are receiving this email because you subscribed to this feed at blogtrottr.com.
留言列表