Setting up websocket server on aws instance

Hi, I am trying to enable WebSocket server on my get node. The geth node is currently running on an aws ec2 instance. I can only enable either rpc-http or rpc-ws server. I want to do both at the same time.

Hi @p.ashwinsingh - welcome to the Infura community! Are you running the HTTP and WS connections on separate ports? If not, that may help you connect to both at the same time.