In this video, Adam shows you how you can find the server your gateway is installed on by using the REST APIs.

Get Gateways REST API