Port 1313 already in use, attempting to use an available port

How to resolve this problem. No changes reflected in port http://localhost:1313/.
Changes are reflected in port http://localhost:55270/ but i want run our website in http://localhost:1313/.

Reboot.

If you knowingly use port 1313 for something else then change that :wink: But most times it’s a “zombie process” on 1313. Reboot and it will be freed.

Definitely sounds like a zombie Hugo running around that didn’t fully stop itself. Not 100% sure if this’ll work on Windows but you can usually confirm this by running:

ps aux | grep hugo  # check for running Hugos
lsof -i :1313  # check if something else is using 1313

…or just skip to killing all Hugo processes with:

killall hugo

And as @davidsneighbour said, when in doubt, turn it off and on again. :wink:

2 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.