With pinggy.io you can share your n8n instance from localhost with just a single command. Replace the port 5678 with the port where n8n is running.
Pinggy will give you a URL like https://ranlkfsbjkxry.a.pinggy.link. Use this URL to open the editor, and as the base for any webhook URL you hand to an external service.