Home Common Problem What to do if port 8080 is occupied

What to do if port 8080 is occupied

Feb 25, 2021 pm 02:50 PM
Port 8080

The solution to the occupied port 8080: first open the running input [netstat -ano]; then enter [netstat -aon|findstr "8080"] to view the PID in the list; finally view the corresponding occupying program and Just close it.

What to do if port 8080 is occupied

#The operating environment of this article: Windows 7 system, Dell G3 computer.

Solution to the 8080 port being occupied:

1. View all port processes in windows

Click the start menu and select Run (win r), then Enter "cmd" in the run dialog box, press Enter to open the command prompt window, then enter [netstat -ano] in the window, press Enter, and then all port occupancy will be displayed. As shown in the picture below, my favorite 8080 is occupied.

What to do if port 8080 is occupied

2. Continue to enter [netstat -aon|findstr "port"] in the window. The port prompted here is 8080, then enter the command as [netstat -aon |findstr "8080"], you can see the PID in the list after pressing Enter. Check the corresponding occupying program in the computer's task manager according to the PID, and then close it.

What to do if port 8080 is occupied

3. Can we see the process ID of the program occupying 8080: 7172, continue to enter the command [tasklist|findstr "7172"], 7172 is the process ID, now Once we know which process is occupying it, we can take appropriate measures to solve it.

What to do if port 8080 is occupied

Related video recommendations: PHP programming from entry to proficiency

The above is the detailed content of What to do if port 8080 is occupied. For more information, please follow other related articles on the PHP Chinese website!

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undress AI Tool

Undress AI Tool

Undress images for free

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

ArtGPT

ArtGPT

AI image generator for creative art from text prompts.

Stock Market GPT

Stock Market GPT

AI powered investment research for smarter decisions

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

How to troubleshoot IP address failures on a virtual machine? How to troubleshoot IP address failures on a virtual machine? Sep 01, 2025 am 06:30 AM

Ifyoucan'tconnecttoaVMduetoIPissues,followthesesteps:1.Checkinterfacestatuswithipaandbringitupifdown.2.RestartnetworkingserviceorNetworkManager.3.ReleaseandrenewDHCPleaseusingdhclient.4.Verifyvirtualnetworksettingsinthehypervisor.5.AssignastaticIPifn

How to change the boot order in a Lenovo BIOS How to change the boot order in a Lenovo BIOS Sep 05, 2025 am 05:06 AM

TochangethebootsequenceonaLenovocomputer,enterBIOSbypressingF2atstartup,navigatetotheBoottab,adjustthedeviceorderusingarrowkeys,enableLegacyorUEFImodeifneeded,thensavechangesandexittoapplythenewbootpriority.

How to fix 'The request failed due to a fatal device hardware error' How to fix 'The request failed due to a fatal device hardware error' Sep 18, 2025 am 02:31 AM

This error is usually caused by hardware problems in the storage device and can be solved by checking connections, scanning with CHKDSK, updating drivers, detecting hard disk health, and adjusting disk policies. 1. Check whether the hard disk connection is normal. External hard disk can be replaced with cables or interfaces. The internal hard disk needs to be restarted and plugged and confirmed to be recognized by BIOS; 2. Run the chkdskX:/f/r command as an administrator to scan and repair disk errors, and execute after restart; 3. Update or reinstall the hard disk driver through the device manager; 4. Use CrystalDiskInfo to view the SMART status. If there is a bad channel warning, immediately backup the data and replace the hard disk; 5. Modify the disk strategy for external hard disks to "better performance" or "quickly delete". If the above steps are invalid,

How to fix Bluetooth driver error How to fix Bluetooth driver error Sep 16, 2025 am 02:01 AM

EnsureBluetoothisenabledviaActionCenterandSettings,checkingforphysicalswitchesorfunctionkeysifnotvisible.2.Runthebuilt-inBluetoothtroubleshooterinSettingstoautomaticallyfixcommonissues.3.UpdatetheBluetoothdriverthroughDeviceManager,oruninstallandrein

Wi-Fi calling not working Wi-Fi calling not working Sep 05, 2025 am 04:44 AM

EnsureyourdeviceandcarriersupportWi-Ficallingandenableitinsettings—iPhone:Settings>Phone>Wi-FiCalling;Android:Settings>Network&Internet>Mobilenetwork>Advanced>Wi-FiCalling;confirmcarriercompatibilityandcompleteemergencyaddressre

What is the best Lenovo laptop for students? What is the best Lenovo laptop for students? Aug 30, 2025 am 02:34 AM

Forstudents,choosealaptopbasedonneeds:lightweightportability(IdeaPadSlim5),durability(ThinkPadE14),2-in-1flexibility(Yoga7i),orbudgetefficiency(ChromebookDuet3).

How to hide my number when I make a call How to hide my number when I make a call Sep 20, 2025 am 04:18 AM

Tohideyourphonenumberwhenmakingacall,useoneofthesemethods:1.Dial67beforethenumberforatemporaryblock,whichworksonmostphonesandcarriersbutnotwithtoll-freeoremergencynumbers.2.ContactyourcarriertopermanentlyblockyourcallerID,anduse82beforeanumbertounblo

Why can't I copy large files to my U disk? Why can't I copy large files to my U disk? Sep 20, 2025 am 06:18 AM

TheissueiscausedbytheFAT32filesystem,whichlimitsindividualfilestounder4GB;2.CheckyourUdisk’sformatviaFileExploreronWindowsorDiskUtilityonMac;3.ReformatthedrivetoexFATforcross-platformcompatibilityandlargefilesupport,orNTFSforWindows-onlyuse,afterback