Port parsing implemented.