Read port from os