java - find what program is using port on remote computer -


how using java? can find port used or not used iteration through ports

tcp = new socket(remote_address, i); // [0 - 65535] tcp.setreuseaddress(true); 

but how find application using port?

its hard find using java . have write quite large codes checking various characteristics of ports . if u google , can more details regarding . requests has send port . various applications running behind port respond particular headers/banners/format using check against various pre set conditions . not 100% accurate way .

smart net admins can fake putting decoys behind port .

instead ,you can use nmap . command line tool used in linux/windows/mac can find quite lot information port.


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -