0
How to run a java server on our PC?
I have to run a TCP connection with my mobile so planning to connect my pc and mobile to same router but don't know how to run server on PC
1 Resposta
0
Basically you can let your application listen to an ip:port or you can setup an application server
https://www.oracle.com/technetwork/java/javaee/overview/compatibility-jsp-136984.html
As you're mentioning a TCP connection you might want to use or realize a webserver, in this case many sources can be found, e.g.:
https://stackoverflow.com/questions/8572127/tiniest-java-web-server