How to expose multiple ports from Web Service


Hi!

I am running my API as a Web Service on Render and that works really well.

Now I want for clients to be able to connect to a Websocket that is exposed by this API. Is there any way to do this? I read that it is only possible to expose 1 port? Then Websocket API and general API need to be separate and can not be together? That would suck massively actually.

If anyone knows with certainty and/or has a way around it, please tell.

Thanks
Michel



Source link

Leave a Comment