On-premise and Private cloud deployment modes allow customers to work with their own private Applitools Eyes server (as opposed to Applitool's public server).
In order to use your private server when running tests, you need to explicitly declare which server you are working with (usually in the Initialization.
Following are syntax examples in all available languages:
Eyes eyes = new Eyes(URI.create("https://my.applitools.server.com"));
FYI - You may need to add the below dependency to your build.gradle
var eyes = new Eyes("https://my.applitools.server.com");