How can I configure AMPS to use a specific network adapter?
To configure AMPS to listen on a specific network adapter, simply provide the IP address of that network adapter in the InetAddr
for the transport.
For example, if a network adapter has the IP address 192.168.2.1
, you can configure AMPS to listen only on that network adapter for a specific transport as follows:
<Transport>
...<!-- other options here -->
<InetAddr>192.168.2.1:9007</InetAddr>
</Transport>
With this InetAddr
, AMPS listens to port 9007 on the network adapter with the IP address 192.168.2.1
. AMPS does not listen on any other IP address or network adapter.