Add new apis for getting information of remoteport