Socket API port change