Om de ûnderfining foar jo te ferbetterjen is tydlik de funksjonaliteit dan dizze website troch ûnderhâldswurk beheind. Wannear in artikel jo probleem net oplost en jo in fraach stelle wolle, kin ús stipemienskip jo helpe yn @FirefoxSupport op Twitter en /r/firefox op Reddit.

Sykje yn Support

Mij stipescams. Wy sille jo nea freegje in telefoannûmer te beljen, der in sms nei ta te stjoeren of persoanlike gegevens te dielen. Meld fertochte aktiviteit mei de opsje ‘Misbrûk melde’.

Mear ynfo

Dizze konversaasje is argivearre. Stel in nije fraach as jo help nedich hawwe.

How close network connections when Firefox or tab closed

  • 5 antwurd
  • 1 hat dit probleem
  • 15 werjeftes
  • Lêste antwurd fan 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

Alle antwurden (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