Share via

Specific ports for other apps to use already in use

Anonymous
2024-12-31T04:27:01+00:00

Hello,

a .jar i want to use won't start a HTTP server because at least one port is already in use and tells me to "Make sure no other process is using port 80 and try again".

Furthermore, the trouble shooting guide states that i have to "Make sure that no other programs are using the ports 80, 53, 442 and 29900."

I'm using Microsoft Windows 11 Pro (latest updates installed). If you need further information, please just ask.

I am adding the screenshot of the output (the same is prompted in cmd).

Windows for home | Windows 11 | Settings

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Anonymous
    2025-01-01T06:56:01+00:00

    Hello JanpIÄjnäp, welcome to the Microsoft Community!

    Thanks for visiting Microsoft Community.  

    I wish I could handle your problem, however, it is more suitable for publishing on Microsoft Learn (English only), more users post these issues there, you can click on "Ask a question", there are experts who can provide more professional solutions in that place.  

    Here is a link to the forum where you can raise specific scenarios and share your idea to help solve the problem.  

    Sincerely hope that your question will be dealt with appropriately after contact the correct department. Thank you for your understanding! 

    Of course, I can provide you with the most basic method, I don't know if it can bring some reference meaning

    But I'll try my best.

    You can follow the steps below to check and release occupied ports:

    1. Open a command prompt:
    1. Press Win + R, type cmd, and press Enter.
    2. Use the netstat command to check port usage:
    3. Type the following command at the command prompt and press Enter:

    netstat -aon | findstr :80

    This displays the process IDs (PIDs) that are using port 80.

    To find the process that is using port 80

    1. Make a note of the displayed PID and locate the corresponding process in Task Manager.
    2. Press Ctrl + Shift + Esc to open Task Manager, switch to the Details tab, and find the corresponding PID.

    To end a process

    1. Right-click the corresponding process and select “End Task”.
    2. Repeat the above steps for other ports:
    3. For ports 53, 442, and 29900, run the following commands:

    netstat -aon | findstr :53

    netstat -aon | findstr :442

    netstat -aon | findstr :442

    If these steps do not solve the problem, you can try restarting your computer or checking if any background services are occupying these ports.

    If this doesn't help, you can contact the link above to find a support specialist who can help you resolve the issue.

    Kirito|Microsoft Community Support Specialist

    1 person found this answer helpful.
    0 comments No comments