wallabyjs / console-ninja

Repository for Console Ninja questions and issues
https://console-ninja.com
Other
381 stars 18 forks source link

[Feature]: Change Web Socket Connect Address #348

Open wslp12 opened 1 day ago

wslp12 commented 1 day ago

Describe the feature you'd like.

It operates normally in a local enviroment, but does not log when accessing a local address from a mobile device.

My guess is that the WebSocket connection address is 127.0.0.1, is there a way to fix this ?

-log file- info host -----------starting--------- info extenstion hostpreocess output:port:[55880] info extension info host client connected: extension { address: '127.0.0.1', family: 'IPv4", 'port: 55880 }

mobile device access no localhost mobile device access some.test.com

some.test.com -> proxy -> 123.123.123.123 (in my public ipv4 )

smcenlly commented 13 hours ago

We mention in our README.md that:

To connect from a different host name, use the console-ninja.allowedHosts VS Code setting.

Have you tried that and it's not working for you?