Hi Shailesh,
you should be able to find these information within available documentation related to the specific solution (eServices, WDE, etc.).
In other hand, the ports for communication between SMS and any social media sites should be HTTP or HTTPS. On IWS communication matrix level, the IWS has to be just connected to the IXN (Interaction Server) as the only main component for non-voice interactions.
All you can find within Genesys or general documentation as well.
Regards,
--Jakub--