Context: Debugging webhook server â ngrok â Trello routing for Idea Pipeline.
What's working:
⢠Webhook server running on 127.0.0.1:3003 (verified: ss + curl /health)
⢠Webhook server responds correctly to POST requests locally
⢠Trello webhook registered and active
The problem:
Ngrok static URL (https://jacoby-aglimmer-mortally.ngrok-free.dev (https://jacoby-aglimmer-mortally.ngrok-free.dev/)) is forwarding to port 4040 instead of port 3003:
Forwarding: https://jacoby-aglimmer-mortally.ngrok-free.dev -> http://127.0.0.1:4040
Expected: https://jacoby-aglimmer-mortally.ngrok-free.dev -> http://127.0.0.1:3003
Port 4040 is ngrok's inspector UI, not our webhook server.
What we've tried:
- Kill all ngrok processes: killall -9 ngrok
- Start ngrok with explicit address: /snap/bin/ngrok http 127.0.0.1:3003
- Checked for config files: ~/.config/ngrok/ngrok.yml, ~/.ngrok2/ngrok.yml (none exist)
- Checked systemd: systemctl status ngrok (not found)
- Verified webhook server is listening on 3003: ss -tlnp | grep :3003 â
- Tested webhook server directly: curl http://127.0.0.1:3003/health â
The question:
Why is ngrok ignoring the http 127.0.0.1:3003 argument and forwarding to port 4040 instead? Is there account-level static URL configuration that overrides command-line arguments?
Environment:
⢠OS: Linux 5.15.0-170-generic (Kamatera VPS)
⢠Ngrok: /snap/bin/ngrok (version 3.36.1)
⢠Static URL: jacoby-aglimmer-mortally.ngrok-free.dev (free plan)
Need help getting ngrok to forward to the correct port!