Hi @navalex , if you haven’t got the answer yet, to do custom port. You will need to modify strapi setting in config/server.js.
Example:
module.exports = ({ env }) => ({
host: env('HOST', '0.0.0.0'),
port: env.int('PORT', env('STRAPI_PORT')),
app: {
keys: env.array('APP_KEYS'),
},
});
In .env, you declare STRAPI_PORT=<custom-port>
Or you can hard-coded the custom port to server.js.
Hope that helps!