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

Serving port configuraion issue. #186

Open
Quantatirsk opened this issue Dec 23, 2022 · 4 comments
Open

Serving port configuraion issue. #186

Quantatirsk opened this issue Dec 23, 2022 · 4 comments
Labels
question Further information is requested

Comments

@Quantatirsk
Copy link

Quantatirsk commented Dec 23, 2022

Thank you very much for providing such a powerful video server ! I just gave up using BBB as your product is far more lightweighted.
Just one quesion, cloud it be possible to server from non-443 port? This port is usually used by Ngnix. Currently BBB doesn't provide non-443 port solution, so I want you know how your team deal with it.
If it can be adjusted, how? Thanks a lot !

@jibon57
Copy link
Member

jibon57 commented Dec 23, 2022

Thank you. Yes, plugNmeet can be setup to work with any port but you'll require to make proper port forwarding. If you're using our installer then it will setup haproxy & proxy the connection to plugNmeet & livekit. If you want to setup haproxy in different port then will be the easiest way.

https://github.com/mynaparrot/plugNmeet-install/blob/1364f0ec594ad2f1db1a2ab015b37658b62023dc/install-files/haproxy_main.cfg#L61

During that time you'll require to change URL in different config files as well as. Like:
https://github.com/mynaparrot/plugNmeet-install/blob/1364f0ec594ad2f1db1a2ab015b37658b62023dc/install-files/livekit.yaml#L30
https://github.com/mynaparrot/plugNmeet-install/blob/1364f0ec594ad2f1db1a2ab015b37658b62023dc/install-files/config.yaml#L36
https://github.com/mynaparrot/plugNmeet-install/blob/1364f0ec594ad2f1db1a2ab015b37658b62023dc/install-files/config.yaml#L96

@jibon57 jibon57 added the question Further information is requested label Dec 23, 2022
@Quantatirsk
Copy link
Author

Quantatirsk commented Dec 26, 2022

Thank you. Yes, plugNmeet can be setup to work with any port but you'll require to make proper port forwarding. If you're using our installer then it will setup haproxy & proxy the connection to plugNmeet & livekit. If you want to setup haproxy in different port then will be the easiest way.

https://github.com/mynaparrot/plugNmeet-install/blob/1364f0ec594ad2f1db1a2ab015b37658b62023dc/install-files/haproxy_main.cfg#L61

During that time you'll require to change URL in different config files as well as. Like: https://github.com/mynaparrot/plugNmeet-install/blob/1364f0ec594ad2f1db1a2ab015b37658b62023dc/install-files/livekit.yaml#L30 https://github.com/mynaparrot/plugNmeet-install/blob/1364f0ec594ad2f1db1a2ab015b37658b62023dc/install-files/config.yaml#L36 https://github.com/mynaparrot/plugNmeet-install/blob/1364f0ec594ad2f1db1a2ab015b37658b62023dc/install-files/config.yaml#L96

Thank you Jibon, but have you tried it? I've tried several times but never succeeded. There are always problems with Haproxy

@jibon57
Copy link
Member

jibon57 commented Dec 26, 2022

but have you tried it?

If I wasn't tested then I shouldn't give you the solution. It's very easy to configure Haproxy but you should have knowledge on it. For my case I just change port & everything was smooth. That is why in the installation we mentioned about clean server without preinstalled apache or nginx.

Config files:

Haproxy: /etc/haproxy/haproxy.cfg
plugNmeet: /opt/plugNmeet/config.yaml
Livekit: /opt/plugNmeet/livekit.yaml
Recorder: /opt/plugNmeet/recorder/config.yaml

@Parveen-Mothsara
Copy link

Hii @jibon57 ,
Need to help for server configuration.

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

No branches or pull requests

3 participants