Starting as-agent to Listen for a Remote Client

Start an as-agent with remote_listen parameter that points to a URL and specific port.

Enter the as-agent command as follows:

as-agent –metaspace <“metaspace_name”> –discovery <“discovery_url"> –listen <“listen_url”> –remote_listen <“remote_listen_url”>

For example, assuming that the IP address of the machine where you will run as-agent to set up a seeder is 10.98.200.194, enter:

as-agent –metaspace “agent007” –discovery “tcp://10.98.200.194:5000” –listen “tcp://10.98.200.194:5000” –remote_listen “tcp://10.98.200.194:5001”

This opens up a port on 5001 for the remote client program to communicate with a member in the metaspace, in this case the as-agent.