This examples was to make with Java 11. To run this examples in local environment you need to do the next steps:
- run if you are in linux
ip -f inet address
- copy eth0 inet address
- run if you are in windows
ipconfig
- copy address IPv4
run your local environment with the uri to point fron IpV4 address. example
192.168.X.X:port_number