Port 4001 on OpenShift

I would like to deploy go-ipfs on OpenShift. My goal is to just have one HTTP gateway and some pinned files (small use case so I do not need IPFS cluster).

The HTTP gateway works well, however OpenShift does not support “routes” for anything other than HTTP, HTTPS, WebSockets, and TLS with SNI. Hence I can’t expose port 4001 properly (as instructed to by NAT configuration | IPFS Docs) and files pinned on this node in OpenShift are not reachable from outside.

Is it possible to deploy go-ipfs in this situation?

IPFS supports web socket transport /ws/ for internode communications, not sure about HTTP.

Websockets communicate over HTTP so it should work