getting & saving java server IP address!

The current server date: 03/25/2023 time: 09:54:56 am

The current client ip is: 34.238.189.240