Webhook URL Issue: System generating 'localhost' instead of Public IP.

Problem Details: Hello, I am configuring a WhatsApp login automation workflow. The workflow runs perfectly in “Test Mode”; however, n8n is generating the Webhook URL as http://localhost:5678/... instead of using my server’s static IP (46.225.92.218).

Due to this, I am unable to enable the “Active” toggle, as the system does not recognize a valid external production URL.

What I need help with:

  1. How can I update the environment variables (such as N8N_EDITOR_BASE_URL or WEBHOOK_URL) so n8n recognizes my actual Public IP instead of ‘localhost’?

  2. Why is the “Active” button not appearing/enabled in my interface even after a successful test execution? Is there a specific user permission or configuration I am missing?

Environment Details:

  • Installation: n8n via Docker / Self-hosted.

  • Server IP: 46.225.92.218

  • Access Port: 5678