Cannot connect to the service in docker swarm
Expected behavior
If I run a service in a swarm, then I can connect this service from outside the docker environment to use the service.
Actual behavior
Cannot connect to the service from outside.

Information
-
Diagnostic ID from "Diagnose & Feedback" in the menu. D491799A-67D6-42E1-B8F5-33DB5EA5CD44/2017-09-30_10-01-48
-
host distribution and version (Windows version, build number, etc) D:\Docker\Images>docker info Containers: 5 Running: 3 Paused: 0 Stopped: 2 Images: 6 Server Version: 17.06.2-ce Storage Driver: windowsfilter Windows: Logging Driver: json-file Plugins: Volume: local Network: l2bridge l2tunnel nat null overlay transparent Log: awslogs etwlogs fluentd json-file logentries splunk syslog Swarm: active NodeID: bn6pob1w3o8ahrysm6qxjetma Is Manager: true ClusterID: jovhvsb1df8lfd4nie9s8di95 Managers: 1 Nodes: 1 Orchestration: Task History Retention Limit: 5 Raft: Snapshot Interval: 10000 Number of Old Snapshots to Retain: 0 Heartbeat Tick: 1 Election Tick: 3 Dispatcher: Heartbeat Period: 5 seconds CA Configuration: Expiry Duration: 3 months Force Rotate: 0 Root Rotation In Progress: false Node Address: 172.16.50.87 Manager Addresses: 172.16.50.87:2377 Default Isolation: hyperv Kernel Version: 10.0 15063 (15063.0.amd64fre.rs2_release.170317-1834) Operating System: Windows 10 Pro OSType: windows Architecture: x86_64 CPUs: 4 Total Memory: 7.903GiB Name: Jax ID: EGP5:UGMM:HTWN:LI3W:KRCA:UJA4:WJL3:R2JP:4KHA:VXUG:52L7:XYOT Docker Root Dir: C:\ProgramData\Docker Debug Mode (client): false Debug Mode (server): true File Descriptors: -1 Goroutines: 172 System Time: 2017-09-30T10:07:25.6107029+08:00 EventsListeners: 2 Registry: https://index.docker.io/v1/ Experimental: false Insecure Registries: 127.0.0.0/8 Live Restore Enabled: false
D:\Docker\Images>docker version Client: Version: 17.06.2-ce API version: 1.30 Go version: go1.8.3 Git commit: cec0b72 Built: Tue Sep 5 19:57:19 2017 OS/Arch: windows/amd64
Server: Version: 17.06.2-ce API version: 1.30 (minimum version 1.24) Go version: go1.8.3 Git commit: cec0b72 Built: Tue Sep 5 19:59:47 2017 OS/Arch: windows/amd64 Experimental: false
Steps to reproduce the behavior
I just follow the Get started on https://docs.docker.com/get-started/part3/#scale-the-app and when I run the command "docker stack deploy -c docker-compose.yml t".
Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale comment.
Stale issues will be closed after an additional 30d of inactivity.
Prevent issues from auto-closing with an /lifecycle frozen comment.
If this issue is safe to close now please do so.
Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. /lifecycle stale
Closed issues are locked after 30 days of inactivity. This helps our team focus on active issues.
If you have found a problem that seems similar to this, please open a new issue.
Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. /lifecycle locked