Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Mozilla 도움말 검색

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

자세히 살펴보기

How close network connections when Firefox or tab closed

  • 5 답장
  • 1 이 문제를 만남
  • 15 보기
  • 최종 답변자: cor-el

more options

Firefox goes to a website. I use netstat at a command prompt and see a number of open connections for that website. I close Firefox and wait 10 seconds. I then run netstat again and the network connections for the website are still open. How do I configure Firefox to close network connections when I close the tab or when I exit Firefox?

Thank you,

Stan

Firefox goes to a website. I use netstat at a command prompt and see a number of open connections for that website. I close Firefox and wait 10 seconds. I then run netstat again and the network connections for the website are still open. How do I configure Firefox to close network connections when I close the tab or when I exit Firefox? Thank you, Stan

모든 댓글 (5)

more options

Well.. I am using Windows 10. I see the PID process for Firefox is gone and not running when I close it. The network connections still show up in NETSTAT and they are now associated with PID 0 - 'System Idle Process'. Does Firefox have a setting to tell Windows not to wait and close the network connections immediately?

more options

Hi Stan, could you check whether the website create a service worker to connect in the background? There is an internal page you can open using the address about:serviceworkers (paste that in the address bar and press Enter to load it). If you find it there, you can unregister it.

(I don't know whether there is a way to automatically unregister service workers when you close a site, if that is what needs to happen.)

more options

Interesting but there are no 'serviceworkers' registered. I vaguely remember that at one time Firefox had an option in this regard - something like 'close all running processes on exit'. One would hope that the network connections would close too but this may be more of an issue with the way Windows works. I find it very odd that the network connections would still be listed in 'netstat -ano' even when the process (Firefox) has closed/terminated.

more options

Oh, I misunderstood, I thought you were closing one site but not the entire browser. Service workers should not run if all instances of firefox.exe have terminated. Could you also check the Windows 10 Task Manager, Details tab, and confirm that there are no more firefox.exe processes running there 60 seconds after shutdown?

more options

Use one of these to close Firefox if you are currently doing that by clicking the close X on the Firefox Title bar.

  • "3-bar" menu button -> Exit (Power button)
  • Windows: File -> Exit
  • Mac: Firefox -> Quit Firefox
  • Linux: File -> Quit