Listen on port 9000 failed
3 posts
• Page 1 of 1
Listen on port 9000 failed
Hello,
I just downloaded your Visual Studio 2017 PHP Tools Extension and created a solution from an existing PHP Folder. When I run the solution, I get the following error:
Listen on port 9000 failed
Any idea what may be the issue?
Thanks,
Pete
I just downloaded your Visual Studio 2017 PHP Tools Extension and created a solution from an existing PHP Folder. When I run the solution, I get the following error:
Listen on port 9000 failed
Any idea what may be the issue?
Thanks,
Pete
-
digioz - Posts: 2
- Joined: October 9th, 2017, 1:53 am
Re: Listen on port 9000 failed
I found the answer already! I ran the following command to see what process is using port 9000:
Based on that I discovered that PID 4 was using that port.
From experience I knew that PID 4 is generally used by the World Wide Web Publishing Service, so I went to Services.msc and stopped that service, setting it to start manually from now on.
Once I did that, the debugging started working.
Thanks,
Pete
- Code: Select all
netstat -ano
Based on that I discovered that PID 4 was using that port.
From experience I knew that PID 4 is generally used by the World Wide Web Publishing Service, so I went to Services.msc and stopped that service, setting it to start manually from now on.
Once I did that, the debugging started working.
Thanks,
Pete
You do not have the required permissions to view the files attached to this post.
-
digioz - Posts: 2
- Joined: October 9th, 2017, 1:53 am
Re: Listen on port 9000 failed
Hi Pete,
Thank you for sharing the solution with us. Interesting, I'm not sure why IIS was listeing on these ports in your case. 9000 is usually not occupied.
Anyway I'm glad you've solved this one
Have a great day,
Thank you for sharing the solution with us. Interesting, I'm not sure why IIS was listeing on these ports in your case. 9000 is usually not occupied.
Anyway I'm glad you've solved this one
Have a great day,
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbeno │ miloslav@devsense.com
-
Miloslav Beno - Posts: 1252
- Joined: January 7th, 2012, 8:36 pm
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 22 guests