match ports for web sockets