modified web sockets for public port