Please post your program and give details of what is connected to each serial port on the Mega.
...R
He's not talking about the serial ports on the Mega.
Apparently, he was using "port3" on his IDE to communicate with the Arduino Mega and now only "port1" appears.
An ambiguous question by the OP leads nowhere.
.