NodeJS & Python Web, Script

I posted a similar question in the following article 3 days ago but did not get any answer.
I don’t need to change the port for the web, I just need to run a separate service included with the script in order to speed up real-time messages and notifications.
Would respected members please take a look and provide assistance in clarifying how to configure this?