Changing port number to match the samples format