How to access on different computers?

47 views
Skip to first unread message

Lean Gerard

unread,
Jun 13, 2023, 8:47:32 AM6/13/23
to Review Board Community
I have installed RB 5.0.4 on my local PC. I have installed RB using WSL. I have the website running on "localhost" on my web browser, I was hoping to connect the website that I have created to another PC I have, What is the best way to do this? I have tried using the IP address however it is not working, Please help.

Christian Hammond

unread,
Jun 13, 2023, 5:23:59 PM6/13/23
to revie...@googlegroups.com
Hi Lean,

To have a working shared install of Review Board (or any other web server software), you'll need to do a few things:

1. Have a stable IP address that others can access.
2. Make sure that IP address can route to your WSL. This will require proxying a port (see https://learn.microsoft.com/en-us/windows/wsl/networking). Also, make sure the firewall allows this port.
3. Set up a domain/subdomain in your network that can map to the IP. I'm assuming your company has a centralized DNS server somewhere for this? If you can't set up a domain, and must only use the IP, then you can specify the IP in place of the domain, but I'll assume you can get a domain going.
4. Configure the domain in Review Board (Admin UI -> General Settings) and in your sitedir/conf/settings_local.py in ALLOWED_HOSTS.
5. Configure Apache to serve up Review Board under your domain.

A lot of this is dependent on your company/organization's networking setup and policies, so I can only provide some broad guidance. But hopefully the link above helps with the inability to reach it by IP.

Christian

On Tue, Jun 13, 2023 at 5:47 AM Lean Gerard <leangerar...@gmail.com> wrote:
I have installed RB 5.0.4 on my local PC. I have installed RB using WSL. I have the website running on "localhost" on my web browser, I was hoping to connect the website that I have created to another PC I have, What is the best way to do this? I have tried using the IP address however it is not working, Please help.

--
Supercharge your Review Board with Power Pack: https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
---
You received this message because you are subscribed to the Google Groups "Review Board Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/reviewboard/6d75191d-ac30-4f37-8c16-12d118ea023an%40googlegroups.com.


--
Christian Hammond
President/CEO of Beanbag
Makers of Review Board

Lean Gerard

unread,
Jul 5, 2023, 10:17:00 AM7/5/23
to Review Board Community
Hi Christian,

So basically I am running my RB using WSL on my windows pc and I want to access this on google chrome on my Ubuntu PC and other Windows PC. Will this be possible? I have changed the setting_local.py by 'localhost','ip-address' and etc.
 I can access reviewboard on localhost and ip address on the pc it is installed in, but still not able to access it on other computers. I ahve also tried disabling the firewall on the ubuntu pc but still not able to reach the site.

Many thanks, 
Lean

Christian Hammond

unread,
Jul 14, 2023, 4:09:44 PM7/14/23
to revie...@googlegroups.com
Hi Lean,

It's possible, if they're on the same network. But this is a more general networking question, and not something Review Board-specific. Review Board itself isn't able to control whether it's available on your network, so there's not anything you can modify there to make this happen.

The biggest challenge, since you're hosting on WSL, is to make the Apache port (80 or 443) accessible over your network. Normally, WSL is protected by both a firewall and by kind of being on its own private network. That's where step 2 in my instructions comes in. You'll need to follow Microsoft's instructions for making ports 80 and 443 available on your network (aka "adding a route"). At that point, other computers should be able to access it using your Windows PC's IP address.

The firewall changes also need to be made on the Windows PC. Those dictate what ports other computers are allowed to access.

WSL makes this a bit more complicated. If you were installing on Ubuntu itself, you might have an easier time. But it's doable.

Christian

Reply all
Reply to author
Forward
0 new messages