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

how to change a room port? #292

Open
ahdinosaur opened this issue Jan 10, 2022 · 2 comments
Open

how to change a room port? #292

ahdinosaur opened this issue Jan 10, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@ahdinosaur
Copy link

hi, i'm keen to bring my room server https://butt.nz home, but when i do that i want to use a different port for the ssb connections (what is usually port 8008), since i'm limited to 1 ip address (when usually in the cloud each server has their own ip address).

i know how to do this from the server's perspective, but how would peers find the new server port?

i know for a pub, you can publish new pub announcement messages, but how does this work for rooms? do i need to send everyone a new invite so they store the new room address? would that even work?

cheers! 🍑

@ahdinosaur
Copy link
Author

hmm, what if i private message all the members and tell them to redeem this new "invite":

net:butt.nz:8008~shs:S27Knie0xR53wW06B9XTJ0Vbc/pgSWp4ws39n7zViCU=:SSB+Room+PSK3TLYC2T86EHQCUHBUHASCASE18JBV24= 

where that invite has the new port. would that work?

@staltz
Copy link
Member

staltz commented Jan 11, 2022

I think there is an http endpoint that gives you the multiserver address, which includes the port of course. I'm on mobile now so I can't confirm this 100% but I believe the endpoint is there. If it's not, we should add it.

The room shouldn't send private messages because it has no feed, no replication algorithms (upload or download), etc.

@decentral1se decentral1se added the enhancement New feature or request label Nov 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants