Receiving ECONNREFUSED when using graphql and next.js

I downgraded, and still receive the error. I did not completely uninstall version 6.6, but Local says I am running version 6.5.2.

I have not connected it to the Next.js frontend yet. I receive the error after a clean install, and then just opening the site.

Is it normal that the node.js host is different from Wordpress address?
Node.js host from Local dashboard - localhost:10007
from local.env file - NEXT_PUBLIC_WORDPRESS_URL=http://localhost:10005
wp Admin address (works) - http://localhost:10005/wp-admin/

If it helps, this person had the exact error with version 6.5.2 - http://community.localwp.com/t/bad-port-error-with-new-site-created-with-atlas-add-on/34513

Below is the output - It believes the port is out of range.


> @faustjs/next-headless-getting-started@0.1.0 dev
> next dev -p $PORT

RangeError [ERR_SOCKET_BAD_PORT]: options.port should be >= 0 and < 65536. Received NaN.
    at new NodeError (node:internal/errors:372:5)
    at validatePort (node:internal/validators:217:11)
    at Server.listen (node:net:1500:5)
    at C:\Users\kendu\Local Sites\hsatlas\app-node\node_modules\next\dist\server\lib\start-server.js:55:16
    at new Promise (<anonymous>)
    at Object.startServer (C:\Users\kendu\Local Sites\hsatlas\app-node\node_modules\next\dist\server\lib\start-server.js:22:12)
    at nextDev (C:\Users\kendu\Local Sites\hsatlas\app-node\node_modules\next\dist\cli\next-dev.js:129:23)
    at C:\Users\kendu\Local Sites\hsatlas\app-node\node_modules\next\dist\bin\next:147:44 {
  code: 'ERR_SOCKET_BAD_PORT'
}