Firewalling Rules

Hi. Having installed frappe I see that there are node and python services listening on ports 7000 and 8000. Can these be blocked or are there services used from the clients browsers?

Safest/definitive method will be to block+test and see if they work, but I don’t think they can be blocked