admin管理员组文章数量:1122846
I'm trying to run Firefox in a vm and expose it for remote connections to access from puppeteer.
firefox --headless --remote-debugging-port=9222 --remote-debugging-host=0.0.0.0 --remote-allow-hosts=x.x.x.x
- This is the command I'm using to launch the browser but the Firefox is listening on 127.0.0.1 only. And accepts only calls from the local machine. Despite many efforts I'm not able to make Firefox listens to my public ip or 0.0.0.0. This is the output I'm getting while launching
*** You are running in headless mode. [GFX1-]: glxtest: Unable to open a connection to the X server WebDriver BiDi listening on ws://127.0.0.1:9222 [GFX1-]: RenderCompositorSWGL failed mapping default framebuffer, no dt
With chrome I'm able to achieve the above use case. Chrome listens on 0.0.0.0 when adding the --remote-debugging-address
google-chrome --headless --remote-debugging-port=9222 --remote-debugging-address=0.0.0.0
I have limited control over the vm so I can't use ssh tunnel as well. Are there any solutions available to make Firefox listens to the public IP like chrome.
本文标签: Facing issues with firefox remote debuggingStack Overflow
版权声明:本文标题:Facing issues with firefox remote debugging - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736283001a1926823.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论