Is ufw even installed by default? If not then it’s open.
Is the port opened on the proxy side though? You can proxy all the traffic you want and it will go out the proxy. But you need it to go back in the proxy. That comes down to your proxy provider.