Hello
I carefully read your all details and fully understood your requirements, looks like it's directly related to nginx and proxy, as you didn't open proxy for that port on in routes, just give me credentials and get the working solution (I hope so)
one question
which linux version your are using on that machine?
Thanks