Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

socket communication issue #32

Open
J4S0N-H opened this issue Nov 9, 2021 · 0 comments
Open

socket communication issue #32

J4S0N-H opened this issue Nov 9, 2021 · 0 comments

Comments

@J4S0N-H
Copy link

J4S0N-H commented Nov 9, 2021

I'm basing a project on this repo's use of multicontainers. I thought it would be nice to try socket communications between my docker containers. I can make the connection successfully, and even send data from the client to the server on port 80. When I try to send data from the server back to the client (port 8181), the data never gets there. I've played with the ports in my docker-compose.yml file. Maybe I'm overlooking something obvious?

`
version: '2'
services:
frontend:
build: frontend
network_mode: host
privileged: true
ports:
- "80:80"
packet_radio:
build: packet_radio
network_mode: host
privileged: true
labels:
io.balena.features.kernel-modules: 1
io.balena.features.firmware: 1
ports:
- "8181:8181"
browser:
image: balenablocks/browser
privileged: true
network_mode: host
ports:
- '5011' # management API (optional)
- '35173' # Chromium debugging port (optional)

`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant