What to do if port 8080 is occupied
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.
#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.
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.
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.
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!

Hot AI Tools

Undress AI Tool
Undress images for free

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

ArtGPT
AI image generator for creative art from text prompts.

Stock Market GPT
AI powered investment research for smarter decisions

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



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

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

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,

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

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

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

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

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