Linking Kryonet Server Objects

The task is to create two separate Server instances that can communicate via Kryonet.

I see that Kryonet can sendTCP to a Client, but how would Server<–>Server communication be done?

Thanks.

Create one of them as a server and the other one is the client, so they communicate the same way?

Any ideas on doing that completely secure? Aka - guaranteeing that an actual Client would never be able to attempt to ‘fake be’ one of the Servers.

Passing a message saying ‘I’m an actual server! Trust me!.. no really - trust me’ feels insecure. How should authentication be done? :smiley:

uhm, use a different port? you can allways fake being a server, but it wouldn’t happen by accident so?