Replies: 4 comments 1 reply
-
Try this:
|
Beta Was this translation helpful? Give feedback.
-
In future please use Discussions to ask support related questions. Additionally please no images of code, cannot copy and paste from an image. As @n303ef has pointed out your code is incorrect. It should be: settings.CefCommandLineArgs.Add("remote-allow-origins", "*"); For security reasons wherever possible only allow specific origin(s). settings.CefCommandLineArgs.Add("remote-allow-origins", "http://localhost:9955");
|
Beta Was this translation helpful? Give feedback.
-
Thanks @amaitland @n303ef |
Beta Was this translation helpful? Give feedback.
-
I was looking into same issue or feature for same reason. I've tried with different flags settings.CefCommandLineArgs.Add("remote-allow-origins", "*"); Andsettings.CefCommandLineArgs.Add("remote-allow-origins", "http://localhost:9222");
// ... And with all combinations incl this as wellsettings.CefCommandLineArgs.Add("remote-debugging-port", "9222");
settings.CefCommandLineArgs.Add("remote-debugging-address", "0.0.0.0");
settings.CefCommandLineArgs.Add("disable-features", "BlockInsecurePrivateNetworkRequests");
I still could not access it from any other machine but localhost and 127.0.0.1. Even if I set settings.CefCommandLineArgs.Add("remote-debugging-address", "192.168.0.211"); // for example It still would not let me to connect when accessing via browser http://192.168.0.211
CEF version I am using is: 101.0.150 |
Beta Was this translation helpful? Give feedback.
-
When trying to open remote debugging this issue happens cefsharp v112 (latest version) and .net 7
Beta Was this translation helpful? Give feedback.
All reactions