getting & saving java server IP address!

The current server date: 08/12/2020 time: 02:20:28 pm

The current client ip is: 18.233.111.242