java - Socket programming is not working -


i using socket programming in java. working in computer. when run server in computer , run client in computer not working. when run server in computer , run client in computer working.

in case stack trace , code snippet can hepful. can assume following reasons:

  1. firewall
  2. routing

to check routing try ping server client. if ping works have firewall problem. if both computers in same network check personal firewall configuration. server computer not allow "strangers" connect port have chosen.

i try stop filrewalls on both machines first. if helps start them again , learn how create firewall rule allows application work.


Comments

Popular posts from this blog

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -

java - JavaFX 2 slider labelFormatter not being used -