Ionic App as Server

Hey guys,

I have a problem to solve and I have no idea how, cause everything I tried is not working.

Let’s say I have an APP A - this APP A should act also as a socket server. Once it’s started it should show IP and Port that is used.

APP B should we only a socket client (no big deal and working fine with an express app as a socket server)… receiving messages from the socket server (-> APP A). How can I solve this problem. An earlier post of @mhartington is not working in this case: Ionic 2 Chat

Any solution available?

Thanks in advance,