Discourse 能否在非标准端口上运行?

Will Discourse work on a non-standard port like say :5443 vs :443?

No it will not work.

2 个赞

Hello !

what if I install the Discourse in development? 3000 is it default port. Will it work on port 3000?

Technically Discourse will run on any port you want it to.

For self installers that follows discourse/docs/INSTALL.md at main · discourse/discourse · GitHub, we don’t provide support for custom ports aside from the defaults that we recommend.

2 个赞

为什么?毫无意义!!!既然可以在非标准端口上运行 HTTPD 或 Apache,为什么还要这样做?我阅读了代码库,甚至让各种人工智能分析过,仍然找不到其背后的逻辑。代码看起来整洁干净,一切似乎都经过了深思熟虑……然后突然就遇到了这种奇怪的限制。我问这个问题是因为它确实困扰了我的编程直觉……你能告诉我为什么会设置这样一个奇怪的、人为的障碍,阻碍了这个出色的捆绑包能够随时随地轻松设置吗?!