Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Ssionn's avatar

Laravel Herd (Windows) JavaScript Error

I have an issue where Laravel Herd doesn't properly start on windows, anyone know a fix? Or is there someone who's fixing this as we speak?

https://imgur.com/a/rcILbyN

0 likes
4 replies
Nick-'s avatar

Have you tried running it as administrator?

nexxai's avatar
nexxai
Best Answer
Level 37

It's saying it doesn't have permission to listen on port 9001 so one of a few things is happening:

  • It needs to be run as administrator (though you said you've tried this and it didn't work)
  • Something else is already running on port 9001 (possibly an existing node service?)
  • A firewall is blocking anything from opening up a listening port

If you want to see if another process is using that port, open a PowerShell prompt as administrator and run this:

Get-Process -Id (Get-NetTCPConnection -LocalPort 9001).OwningProcess

Please or to participate in this conversation.