I am trying transfer my code to my adafruit esp32 fether but this mesage comes up. it is not in the wrong port

From the title I assume, you are 100% sure you have selected the correct port number. Close any serial monitor windows, if they are open.