Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

Remote debugging not working

  • 답글 없음
  • 0 이 문제를 만남
  • 11 보기
more options

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 --no-sandbox --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?

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 --no-sandbox --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?

글에 답글을 달기 위해서는 계정으로 로그인해야만 합니다. 계정이 아직 없다면 새로운 질문을 올려주세요.