Listen on port 9000 failed

PHP Tools [?] extends Visual Studio with set of advanced features to work more efficiently with PHP code.

Listen on port 9000 failed

Postby digioz » October 9th, 2017, 2:00 am

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
User avatar
digioz
 
Posts: 2
Joined: October 9th, 2017, 1:53 am

Re: Listen on port 9000 failed

Postby digioz » October 9th, 2017, 2:13 am

I found the answer already! I ran the following command to see what process is using port 9000:

Code: Select all
netstat -ano


Based on that I discovered that PID 4 was using that port.

port-9000-error.png


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.

port-9000-error-2.png


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.
User avatar
digioz
 
Posts: 2
Joined: October 9th, 2017, 1:53 am

Re: Listen on port 9000 failed

Postby Miloslav Beno » October 9th, 2017, 11:06 am

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,
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbenomiloslav@devsense.com
User avatar
Miloslav Beno
 
Posts: 1074
Joined: January 7th, 2012, 8:36 pm


Return to PHP Tools

Who is online

Users browsing this forum: No registered users and 3 guests

cron

User Control Panel

Login

Who is online

In total there are 3 users online :: 0 registered, 0 hidden and 3 guests (based on users active over the past 5 minutes)
Most users ever online was 62 on January 7th, 2012, 10:54 pm

Users browsing this forum: No registered users and 3 guests
Phalanger