Skip to content

Port scanning does not work on Windows #2484

Open
@wchargin

Description

@wchargin
Contributor

Repro: In one command prompt, launch tensorboard --logdir logs1; in
another, launch tensorboard --logdir logs2.

Expected behavior: Both TensorBoards launch, one on port 6006 and the
other on port 6007. Both can be reached at their expected endpoints.

Actual behavior: Both TensorBoards launch on port 6006. All requests to
that port go to the first TensorBoard until it is closed, at which point
they go to the second TensorBoard.

Diagnostics

Diagnostics output
--- check: autoidentify
INFO: diagnose_tensorboard.py version 393931f9685bd7e0f3898d7dcdf28819fef54c43

--- check: general
INFO: sys.version_info: sys.version_info(major=3, minor=6, micro=8, releaselevel='final', serial=0)
INFO: os.name: nt
INFO: os.uname(): N/A
INFO: sys.getwindowsversion(): sys.getwindowsversion(major=10, minor=0, build=16299, platform=2, service_pack='')

--- check: package_management
INFO: has conda-meta: False
INFO: $VIRTUAL_ENV: 'C:\\Users\\wchargin\\virtualenv\\tensorflow-2.0.0a0-py3.6'

--- check: installed_packages
INFO: installed: tb-nightly==1.14.0a20190301
INFO: installed: tensorflow==2.0.0a0
INFO: installed: tf-estimator-nightly==1.14.0.dev2019030115

--- check: tensorboard_python_version
INFO: tensorboard.version.VERSION: '1.14.0a20190301'

--- check: tensorflow_python_version
INFO: tensorflow.__version__: '2.0.0-alpha0'
INFO: tensorflow.__git_version__: 'v1.12.0-9492-g2c319fb415'

--- check: tensorboard_binary_path
INFO: which tensorboard: b'C:\\Users\\wchargin\\virtualenv\\tensorflow-2.0.0a0-py3.6\\Scripts\\tensorboard.exe\r\n'

--- check: readable_fqdn
INFO: socket.getfqdn(): [REDACTED]

--- check: stat_tensorboardinfo
INFO: directory: C:\Users\wchargin\AppData\Local\Temp\.tensorboard-info
INFO: os.stat(...): os.stat_result(st_mode=16895, st_ino=8444249301408051, st_dev=210616213, st_nlink=1, st_uid=0, st_gid=0, st_size=0, st_atime=1564616638, st_mtime=1564616638, st_ctime=1564598615)
INFO: mode: 0o40777

--- check: source_trees_without_genfiles
INFO: tensorboard_roots (1): ['C:\\Users\\wchargin\\virtualenv\\tensorflow-2.0.0a0-py3.6\\lib\\site-packages']; bad_roots (0): []

--- check: full_pip_freeze
INFO: pip freeze --all:
absl-py==0.7.1
astor==0.7.1
attrs==19.1.0
backcall==0.1.0
bleach==3.1.0
colorama==0.4.1
decorator==4.4.0
defusedxml==0.6.0
entrypoints==0.3
gast==0.2.2
google-pasta==0.1.4
grpcio==1.20.0rc2
h5py==2.9.0
ipykernel==5.1.1
ipython==7.7.0
ipython-genutils==0.2.0
ipywidgets==7.5.1
jedi==0.14.1
Jinja2==2.10.1
jsonschema==3.0.1
jupyter==1.0.0
jupyter-client==5.3.1
jupyter-console==6.0.0
jupyter-core==4.5.0
Keras-Applications==1.0.7
Keras-Preprocessing==1.0.9
Markdown==3.1
MarkupSafe==1.1.1
mistune==0.8.4
nbconvert==5.5.0
nbformat==4.4.0
notebook==6.0.0
numpy==1.16.2
pandocfilters==1.4.2
parso==0.5.1
pickleshare==0.7.5
pip==19.0.3
prometheus-client==0.7.1
prompt-toolkit==2.0.9
protobuf==3.7.1
Pygments==2.4.2
pyrsistent==0.15.4
python-dateutil==2.8.0
pywinpty==0.5.5
pyzmq==18.0.2
qtconsole==4.5.2
Send2Trash==1.5.0
setuptools==41.0.0
six==1.12.0
tb-nightly==1.14.0a20190301
tensorflow==2.0.0a0
termcolor==1.1.0
terminado==0.8.2
testpath==0.4.2
tf-estimator-nightly==1.14.0.dev2019030115
tornado==6.0.3
traitlets==4.3.2
wcwidth==0.1.7
webencodings==0.5.1
Werkzeug==0.15.2
wheel==0.33.1
widgetsnbextension==3.5.1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @wchargin

        Issue actions

          Port scanning does not work on Windows · Issue #2484 · tensorflow/tensorboard