fixing port and socket alias bug
fixing port and socket alias bug