Back

Changing default ports 80 and 443 to 2000 and 2001 leads to unexpected behavior in functions.

  • 0
  • Self Hosted
  • Functions
manofmanliness
24 Nov, 2024, 21:29

In my self hosted appwrite instance, ports 80 and 443 are already occupied by Nginx on an external server. Our appwrite console is at https://{domain}:2021/console And the associated function is at https://{funcid}.functions.{domain}

When using a locally hosted instance (on own machine) with localhost and default ports, this all works, but not with this setup on the server. Any thoughts as to why? Are there any extra considerations?

TL;DR
Changing default ports 80 and 443 to 2000 and 2001 is causing the functions to behave unexpectedly. The self-hosted Appwrite instance's console and associated function are configured to these ports. The setup works on a local machine with default ports but not on the server due to occupied ports by Nginx. Additional configurations to consider, if switching ports is necessary.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more