You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way to control which SSE port (not initial connection port) the sse session will land on?
I am running mcp sse in docker and without knowing which port SSE will land it's failing to establish sse session.
mcp itself is running on say port 8000. if running in host and connecting from host everything works, after initially using port 8000 sse session is established say on :53684 and host to host nothing prevents accessing 53684.
when running in docker and connecting from within the docker, again everything works.
however, when running in docker and connecting from host, I can only map initial port 8000, but then I dont know what additional ports to map for sse session. if I map 53684 next time it appears to be using another random one.
I imagine there must be a setting to control which port(s) the sse session will be using?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Is there a way to control which SSE port (not initial connection port) the sse session will land on?
I am running mcp sse in docker and without knowing which port SSE will land it's failing to establish sse session.
mcp itself is running on say port
8000
. if running in host and connecting from host everything works, after initially using port8000
sse session is established say on:53684
and host to host nothing prevents accessing53684
.when running in docker and connecting from within the docker, again everything works.
however, when running in docker and connecting from host, I can only map initial port
8000
, but then I dont know what additional ports to map forsse
session. if I map53684
next time it appears to be using another random one.I imagine there must be a setting to control which port(s) the
sse
session will be using?Beta Was this translation helpful? Give feedback.
All reactions