e2b-dev / e2b-dev/desktop

gRPC Connection Issue in E2B Desktop Docker Container

Open
#114 1 comment 0 reactions 1 assignee View on GitHub

@jakubno is already working on this.

Since Oct 17, 2025.

bug Desktop
Dominant language
Python
Stars
1.5k
Forks
184
Avg merge
12h 6m
Merged PRs (30d)
7

Description

When I launch the grpc server and client both in the e2b docker terminal (localhost), it works properly. But what if I want to reach that from my local computer? I see a related internet access doc: https://e2b.dev/docs/sandbox/internet-access, but this is for https. For gRPC, the return url (e.g. {sanbox-id}.e2b.app) cannot be curl or pinged. And I do not know how to send a request to that from local computer. But for 'localhost' inside the e2b container, it works.

process = desktop.commands.run("python grpc_server.py", background=True)

time.sleep(10)

grpc_host = desktop.get_host(50051)
print(f"Connecting to gRPC server at {grpc_host}")

Any thought on this? Now sure how 'get_host' handling the network traffic...

Thanks for the help.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.