Please check if you are using a proxy.
This may cause problems with your socket connection
Perhaps you should not change the properties file but rather provide the parameter on startup,
minimum. All permissions are denied to MIDlets in this domain.
maximum. All permissions are granted to MIDlets in this domain. Maximum is the default setting.
emulator.exe -Xdomain:maximum .....
also sheck the port you are trying to access; the port number should be higher than 1024.