#devtools-integration error in version v10
52 messages · Page 1 of 1 (latest)
If I put "http :false" everything works ok
this is my nest info
Which OS are you on?
does it happen every time? What if you first kill whatever is running on that port? sudo kill -9 $(sudo lsof -t -i:4000)
I'm pretty sure you have to use a different port for the devtool module and for the app's webserver itself
when do
await app.listen(3000);
and
DevtoolsModule.registerAsync({
useFactory: () => ({
http: true,
port: 4000,
}),
}),
Then it boots up correctly
I will try it now
The app works, but I can't connect to devtool
I have problems at MacOS and Linux, but Window work
how your devtoolsmodule setup looks like now?
but I can't connect to devtool
How are you connecting?
On windows devtool and app sharing port 4000, it works fine.
But not mac and linux
i try 4000, 3000, and replace localhost to 127.0.0.1
i can share vps ubuntu, i pm u
oh so it might be networking issues right
working for me as well
Network problem? I'm not sure
btw it won't work if you're trying to connect to stackblitz
i try to connect with ipv4
Are you doing everything in the same machine or it is a remote access?
i try on local window and deploy to vps
My colleague tried it on MacOS and it didn't work
and are you trying to connect to the IP of the VPS?
i try 4000, 3000, and replace localhost to 127.0.0.1
127.0.0.1 is still localhost
I tried with ipv4 of vps
if they use port 3000, do they see the "hello world" message?
just to confirm - when it's deployed on the VPS, then nobody can connect to the devtool from any machine
the log shows you're running the server on port 4000, not the devtool module
that error in the console is still the old one. What does the devtools window say when you try port 5000?
Nothing happens
Not even this error?
I was able to connect to the devtool module even when the project runs in a docker container
I truly have no idea what could be wrong at your end
i share u vps
There is a problem with the network
and when using common port for application and devtool on Mac and Ubuntu
the question is: do we must use different ports? I’d say yes. The docs doesn’t mention that so we should improve it and see what Kamil think