There should be an optional argument in the "%tensorboard" magic (maybe --no-window or --nowindow) to optionally turn off the in-notebook browser window just in case it's impossible for the browser to access TensorBoard directly to prevent outputs like this in notebooks:

Just a nice-to-have feature. Should also appear in the --helpfull prompt.