gün içinde sıkça
telnet ipadresi port
diyip bir makinenin diğer makineye bağlı olup olmadığını belirli porttan kontrol etmemiz gerekiyor. fakat bugün root olmadığımız bir linuxde telnet kurulu olmadığını fark ettim. hemen java classımı kondurdum buyrun ihtiyaç olursa
derlemek için
javac telnet.java
kullanımı
java telnet 10.210.60.55 22
yukardaki ipnin portuna bağlanmaya çalışır bağlanırsa success değilse problem ve sebebini yazar. koduda şöyle
Subscribe to:
Post Comments (Atom)
odd string diff
https://leetcode.com/problems/odd-string-difference/ Beats 19.92% of users with Java class Solution { public String oddString ( S...
-
bu durum sessionun uzun ömürlü olmasını istediğinizde yapacağınız bişeydir ki Session["eblek"]="gobalak"; dediğimizde ve...
-
at the end of any product there will be a reporting interfaces for counts. let say you build a advertisement site which gives people to publ...
-
in java web application you can easily set 400 and 500 error pages via web.xml like this <error-page> <error-code>50...
No comments:
Post a Comment