question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

can't enter the localhost:6006

See original GitHub issue

Environment information (required)

Diagnostics

Diagnostics output
--- check: autoidentify
INFO: diagnose_tensorboard.py version d515ab103e2b1cfcea2b096187741a0eeb8822ef

--- check: general
INFO: sys.version_info: sys.version_info(major=3, minor=6, micro=10, releaselevel='final', serial=0)
INFO: os.name: posix
INFO: os.uname(): posix.uname_result(sysname='Linux', nodename='cortex-02', release='4.19.66-aufs-1', version='#1 SMP Tue Aug 13 15:20:39 IDT 2019', machine='x86_64')
INFO: sys.getwindowsversion(): N/A

--- check: package_management
INFO: has conda-meta: True
INFO: $VIRTUAL_ENV: None

--- check: installed_packages
INFO: installed: tensorboard==2.2.0
INFO: installed: tensorflow==2.0.0
INFO: installed: tensorflow-estimator==2.0.1

--- check: tensorboard_python_version
INFO: tensorboard.version.VERSION: '2.2.0'

--- check: tensorflow_python_version
INFO: tensorflow.__version__: '2.0.0'
INFO: tensorflow.__git_version__: 'v2.0.0-rc2-26-g64c3d38'

--- check: tensorboard_binary_path
INFO: which tensorboard: b'/cs/labs/oabend/lovodkin93/anaconda3/envs/jiant/bin/tensorboard\n'

--- check: addrinfos
socket.has_ipv6 = True
socket.AF_UNSPEC = <AddressFamily.AF_UNSPEC: 0>
socket.SOCK_STREAM = <SocketKind.SOCK_STREAM: 1>
socket.AI_ADDRCONFIG = <AddressInfo.AI_ADDRCONFIG: 32>
socket.AI_PASSIVE = <AddressInfo.AI_PASSIVE: 1>
Loopback flags: <AddressInfo.AI_ADDRCONFIG: 32>
Loopback infos: [(<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 0))]
Wildcard flags: <AddressInfo.AI_PASSIVE: 1>
Wildcard infos: [(<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('0.0.0.0', 0)), (<AddressFamily.AF_INET6: 10>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('::', 0, 0, 0))]

--- check: readable_fqdn
INFO: socket.getfqdn(): 'cortex-02.cs.huji.ac.il'

--- check: stat_tensorboardinfo
INFO: directory: /tmp/.tensorboard-info
INFO: os.stat(...): os.stat_result(st_mode=16895, st_ino=3801093, st_dev=2049, st_nlink=2, st_uid=205051, st_gid=32, st_size=4096, st_atime=1586934671, st_mtime=1586935491, st_ctime=1586935491)
INFO: mode: 0o40777

--- check: source_trees_without_genfiles
INFO: tensorboard_roots (1): ['/cs/labs/oabend/lovodkin93/anaconda3/envs/jiant/lib/python3.6/site-packages']; bad_roots (0): []

--- check: full_pip_freeze
INFO: pip freeze --all:
absl-py==0.9.0
alabaster==0.7.12
allennlp==0.8.4
appdirs==1.4.3
aspy.yaml==1.3.0
astor==0.8.1
attrs==19.3.0
awscli==1.18.31
Babel==2.8.0
backcall==0.1.0
blis==0.4.1
bokeh==1.2.0
boto3==1.12.31
botocore==1.15.31
bpe==1.0
cachetools==4.0.0
catalogue==1.0.0
certifi==2019.11.28
cffi==1.14.0
cfgv==3.1.0
chardet==3.0.4
click==7.1.1
colorama==0.4.3
conllu==0.11
coverage==5.0.4
cryptography==2.8
cycler==0.10.0
cymem==2.0.3
Cython==0.29.16
cytoolz==0.9.0.1
dataclasses==0.7
decorator==4.4.2
dill==0.2.9
distlib==0.3.0
docutils==0.15.2
editdistance==0.5.3
en-core-web-sm==2.2.5
entrypoints==0.3
filelock==3.0.12
fire==0.3.0
flaky==3.6.1
Flask==1.1.1
Flask-Cors==3.0.8
ftfy==4.4.3
gargparse==0.0.6
gast==0.2.2
gevent==1.4.0
google-api-core==1.16.0
google-auth==1.12.0
google-auth-oauthlib==0.4.1
google-cloud-core==1.3.0
google-cloud-logging==1.11.0
google-pasta==0.2.0
googleapis-common-protos==1.51.0
greenlet==0.4.15
grpcio==1.27.2
h5py==2.10.0
html5lib==1.0.1
hypothesis==5.8.0
identify==1.4.13
idna==2.9
imagesize==1.2.0
importlib-metadata==1.6.0
importlib-resources==1.4.0
ipdb==0.13.2
ipykernel==5.1.1
ipython==7.13.0
ipython-genutils==0.2.0
itsdangerous==1.1.0
jedi==0.16.0
Jinja2==2.11.1
jmespath==0.9.5
joblib==0.14.1
jsondiff==1.2.0
jsonnet==0.15.0
jsonpickle==1.3
jsonschema==2.6.0
jupyter-client==6.1.0
jupyter-core==4.6.1
Keras-Applications==1.0.8
Keras-Preprocessing==1.1.0
kiwisolver==1.1.0
Markdown==3.2.1
MarkupSafe==1.1.1
matplotlib==3.2.1
mkl-fft==1.0.6
mkl-random==1.0.1
more-itertools==8.2.0
msgpack==0.5.6
msgpack-numpy==0.4.3.2
murmurhash==1.0.2
mypy==0.770
mypy-extensions==0.4.3
nltk==3.4.5
nodeenv==1.3.5
nose2==0.9.2
numpy==1.18.2
numpydoc==0.9.2
oauthlib==3.1.0
olefile==0.46
opt-einsum==3.2.0
overrides==2.8.0
packaging==20.3
pandas==0.23.0
parsimonious==0.8.1
parso==0.6.2
pexpect==4.8.0
pickleshare==0.7.5
Pillow==7.0.0
pip==20.0.2
plac==0.9.6
pluggy==0.13.1
pre-commit==1.15.2
preshed==3.0.2
prompt-toolkit==3.0.4
protobuf==3.11.3
ptyprocess==0.6.0
py==1.8.1
pyasn1==0.4.8
pyasn1-modules==0.2.8
pycparser==2.20
Pygments==2.6.1
pyhocon==0.3.35
pyOpenSSL==19.1.0
pyparsing==2.4.6
PySocks==1.7.1
pytest==5.4.1
python-dateutil==2.8.1
python-http-client==3.2.6
python-Levenshtein==0.12.0
pytorch-pretrained-bert==0.6.2
pytz==2017.3
PyYAML==5.3.1
pyzmq==18.1.1
regex==2020.2.20
requests==2.23.0
requests-oauthlib==1.3.0
responses==0.10.12
rsa==3.4.2
s3transfer==0.3.3
sacremoses==0.0.38
scikit-learn==0.19.1
scipy==1.4.1
sendgrid==5.4.1
sentencepiece==0.1.85
setuptools==46.1.1.post20200323
six==1.14.0
snowballstemmer==2.0.0
sortedcontainers==2.1.0
spacy==2.2.4
spacy-lookups-data==0.2.0
Sphinx==2.4.4
sphinxcontrib-applehelp==1.0.2
sphinxcontrib-devhelp==1.0.2
sphinxcontrib-htmlhelp==1.0.3
sphinxcontrib-jsmath==1.0.1
sphinxcontrib-qthelp==1.0.3
sphinxcontrib-serializinghtml==1.1.4
sqlparse==0.3.1
srsly==1.0.2
TBB==0.1
tensorboard==2.2.0
tensorboard-plugin-wit==1.6.0.post3
tensorboardX==2.0
tensorflow==2.0.0
tensorflow-estimator==2.0.1
tensorflow-qnd==0.1.11
termcolor==1.1.0
thinc==7.4.0
tokenizer==2.0.5
tokenizers==0.5.2
toml==0.10.0
toolz==0.10.0
torch==1.4.0
torchvision==0.5.0
tornado==6.0.4
tqdm==4.45.0
traitlets==4.3.3
transformers==2.7.0
typed-ast==1.4.1
typing-extensions==3.7.4.1
ujson==2.0.2
Unidecode==1.1.1
urllib3==1.25.7
virtualenv==20.0.15
wasabi==0.6.0
wcwidth==0.1.8
webencodings==0.5.1
Werkzeug==1.0.0
wget==3.2
wheel==0.34.2
word2number==1.1
wrapt==1.12.1
youtokentome==1.0.6
zipp==3.1.0

  • Browser type and version: chromium 73.0.3683.75
  • Screenshot, if it’s a visual issue: image

Issue description

I keep having a “this site can’t be reached” when i paste the localhost:6006 in the url line. I’ve tried everything - adding the flag “–host=127.0.0.1”, playing with the proxy configurations, but nothing helps. Please help me. Thanks.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
jianyinglangcommented, Nov 12, 2020

Thanks @stephanwlee for the quick response! I am not using docker and trying to access localhost of a remote machine. After applying bind_all, I still got the same error.

1reaction
FengLiang-Whucommented, Sep 11, 2020

I meet the same problem today, and I just change the port “6006” to another one, which solves the problem

Read more comments on GitHub >

github_iconTop Results From Across the Web

can't open tensorboard 0.0.0.0:6006 or localhost:6006
Run tensorboard --logdir=YOUR_LOG_DIR --host=127.0.0.1 in command prompt, and type localhost:6006 in chrome, this works for me (Win10, ...
Read more >
localhost:6006
localhost 6006 can't be reached because the socket / socket fails to open or the requested address is already in use. Try resuming...
Read more >
Python – can't open tensorboard 0.0.0.0:6006 or localhost:6006
Run tensorboard --logdir=YOUR_LOG_DIR --host=127.0.0.1 in command prompt, and type localhost:6006 in chrome, this works for me (Win10, anaconda4.3.16, python3.
Read more >
Remote Tensorboard Viewing on Your Local Browser - Medium
Connect to the server by transferring port 6006 of the remote server into a port you like to view the Tensorboard (like 16006)....
Read more >
Using TensorBoard in Notebooks - TensorFlow
docker run -it -p 8888:8888 -p 6006:6006 \ ... where the -p 6006 is the default port of TensorBoard. ... logdir = os.path.join("logs", ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found