Added: fixed port out of range issue