Using port number from process