Yes that is correct. If you are testing you need to start n8n with a tunnel. In production you can set the env variable ‘WEBHOOK_TUNNEL_URL’.
https://docs.n8n.io/reference/glossary.html#trigger