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
Post a Comment