use endpoint instead of --port

<3 endpoints