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

Can the sapp support to bind 0.0.0.0 other than localhost ? #51

Closed
Securee opened this issue Oct 13, 2021 · 3 comments
Closed

Can the sapp support to bind 0.0.0.0 other than localhost ? #51

Securee opened this issue Oct 13, 2021 · 3 comments

Comments

@Securee
Copy link

Securee commented Oct 13, 2021

After run sapp --database-name=sapp.db server, we can only visit the issues by http://localhost:5000. But does the sapp can support to bind 0.0.0.0, so that all the people in a team can visit the issues by http://x.x.x.x:500/ ? or is there any roadmap to support this feature ?

@0xedward
Copy link
Contributor

0xedward commented Oct 13, 2021

But does the sapp can support to bind 0.0.0.0, so that all the people in a team can visit the issues by http://x.x.x.x:500/ ? or is there any roadmap to support this feature ?

Hi @Securee, I don't think we will have plans to support this. But I think you can get this functionality by setting up SAPP using the dev environment instructions, editing server.py#L103 and then running the edited version of SAPP.

Let me know if you have any other questions :)

@Securee
Copy link
Author

Securee commented Oct 14, 2021

But does the sapp can support to bind 0.0.0.0, so that all the people in a team can visit the issues by http://x.x.x.x:500/ ? or is there any roadmap to support this feature ?

Hi @Securee, I don't think we will have plans to support this. But I think you can get this functionality by setting up SAPP using the dev environment instructions, editing server.py#L103 and then running the edited version of SAPP.

Let me know if you have any other questions :)

Thanks for your reply. I have resolved it by add a iptables rule:
iptables -t nat -A PREROUTING -p tcp --dport 6000 -j DNAT --to-destination 127.0.0.1:5000

@0xedward
Copy link
Contributor

Nice, that's good to hear! I'll close this issue - feel free to open new issue if you have any other questions :)

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

2 participants