windows - Weird java.net.SocketException behaviour -


i distributing app binds 1200 port listen udp packets. app installed on ~50 machines set auto restart in 7:30am , auto login specific user , when user logging in auto start app. problem on morning machine restart 5 machines wont start app because app fails java.net.socketexception: bound exception 1200 port. when login machine , try starting app manually starts without problems.

there nothing unusual installed on machines, vnc server, , few other apps should not use port. can while windows booting randomly takes port or that? because experienced behaviour when machine restarted, not when user logging off , in (which kills , starts app).

i using standard datagramchannel bind port, nothing exotic.

datagramchannel channel = datagramchannel.open(); channel.socket().bind(new inetsocketaddress(1200)); 

problematic machines different every day, not same ones.


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -