With pinggy.io you can share your ComfyUI instance from localhost with just a single command. Replace the port 8188 with the port where ComfyUI is running.
Pinggy will give you a URL like https://ranlkfsbjkxry.a.pinggy.link. Use this URL to open the node editor from another machine, which is the usual way to drive a GPU box from a laptop.
ComfyUI has no login of its own, so anyone with the URL can queue jobs on your GPU. Turn on Password Protect above before sharing the link.
For the full walkthrough, see how to easily share ComfyUI online.