Home > Back-end >  Turn to port occupied how to solve???
Turn to port occupied how to solve???

Time:09-27

Install a Java program, always prompts me when start the service command port being used, and a net friend told me to change the port, and mapping the,,, I want to ask next literally change the port must be a server open port? Or say I just write a such as 123456, and also how mapping is done?

CodePudding user response:

Kill, or restart the computer

CodePudding user response:

reference 1st floor technology otaku happy reply:
kill, or restart the computer

How to kill, small white, can point in more detail?

CodePudding user response:

Windos run CMD, enter the command line mode, and then input the netstat -a, see which process accounts for your port, you should usually use is 80, accounting for the port should be IIS, you then go to the Windows closed IIS in the list of services, or modify your tomcat server server. The XML configuration, change the port to other ports,

CodePudding user response:

reference renjnet reply: 3/f
run CMD windos, into the command line mode, and then enter the netstat -a, see which process accounts for your port, you should usually use is 80, accounting for the port should be IIS, you then go to the Windows closed IIS in the list of services, or modify your tomcat server server. The XML configuration, change the port to other ports,

I use a Linux system,

CodePudding user response:

Wangongsheyue
reference 4 floor response:
Quote: refer to the third floor renjnet response:
run CMD windos, into the command line mode, and then enter the netstat -a, see which process accounts for your port, you should usually use is 80, accounting for the port should be IIS, you then go to the Windows closed IIS in the list of services, or modify your tomcat server server. The XML configuration, change the port to other ports,

I use a Linux system,

The mostly nginx occupied,

CodePudding user response:

reference 5 floor renjnet reply:
Quote: refer to 4th floor wangongsheyue response:

Quote: refer to the third floor renjnet response:
run CMD windos, enter the command line mode, and then input the netstat -a, see which process accounts for your port, you should usually use is 80, accounting for the port should be IIS, you then go to the Windows closed IIS in the list of services, or modify your tomcat server server. The XML configuration, change the port to other ports,

I use a Linux system,

The mostly nginx occupies,

That should be how

CodePudding user response:

refer to 6th floor wangongsheyue response:
Quote: refer to the 5 floor renjnet response:
Quote: refer to 4th floor wangongsheyue response:

Quote: refer to the third floor renjnet response:
run CMD windos, enter the command line mode, and then input the netstat -a, see which process accounts for your port, you should usually use is 80, accounting for the port should be IIS, you then go to the Windows closed IIS in the list of services, or modify your tomcat server server. The XML configuration, change the port to other ports,

I use a Linux system,

The mostly nginx occupies,

It should be how

Confirm is port 80 to take up? So, execute the following command,
Lsof - I: 80 (see 80 port usage)
Kill 9 process id (kill to take up the process of port 80)

CodePudding user response:

Kill to take up the progress of the port
  • Related