2. Enter "Devices and Printers".
3. Select the printer connected to the computer, right-click and select Printer Properties.
4. Switch to the port window.
5. Click Configure Port to enter and change the IP address and port number.
6. You can add or delete ports in the port window of the printer.