Hi all, i have a little problem with my simple simple program. I'm at first year of university and I just started learning java and i tried to create a simple rock paper scissor program between a server program and a client one.
When I run them in my own network all is fine, i can play and score points, but when i try with a client that is on another network the pain starts
The problem is the usage of the program without being on the same network, the bypass of the firewall restrictions on incoming connections.
I thinked of using some port between the common ones, like the port 80, and if there isn't an apache server running it should work but in this case i don't know if i have to use some specific protocols like http...
If you can help me I would appreciate, i know i may portforward but i was thinking of a mobile program that can be portable
Here there is the code for the two programs
BTW I'm Italian so part of code is in my language