Where does "http://localhost:2368/assets/built/portal.min.js " get loaded in {{ghost_head}}?

So basically I’m getting an error where

http://localhost:2368/assets/built/portal.min.js” cannot be found (connection refused)
When I remove “{{ghost_head}}” in the head tag in my default.hbs the error is gone.

So I checked the code injection in my settings in the /ghost admin board.
But there’s no code injected.

I’m getting this error on the home page (index) and I’m trying to find out where this line of code is getting called upon so I can delete it. Unfortunately I have no idea where else to look.
It’s causing my dev site to be extremely slow in loading.
(I’m not using the portal)