I found a way to get working, it wasn’t that hard afterall, and you can run Discourse on any port you wish.