mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-30 12:26:25 -06:00
Add dev server firewall configuration for EL distros
This commit is contained in:
parent
dd0489c1c5
commit
ca9b6a116c
@ -267,6 +267,13 @@ Starting development server at http://0.0.0.0:8000/
|
|||||||
Quit the server with CONTROL-C.
|
Quit the server with CONTROL-C.
|
||||||
```
|
```
|
||||||
|
|
||||||
|
!!! note
|
||||||
|
By default RHEL based distros will likely block your testing attempts with firewalld. The development server port can be opened with `firewalld-cmd` (add `--permanent` if you want the rule to survive server restarts):
|
||||||
|
|
||||||
|
```no-highlight
|
||||||
|
firewall-cmd --zone=public --add-port=8000/tcp
|
||||||
|
```
|
||||||
|
|
||||||
Next, connect to the name or IP of the server (as defined in `ALLOWED_HOSTS`) on port 8000; for example, <http://127.0.0.1:8000/>. You should be greeted with the NetBox home page.
|
Next, connect to the name or IP of the server (as defined in `ALLOWED_HOSTS`) on port 8000; for example, <http://127.0.0.1:8000/>. You should be greeted with the NetBox home page.
|
||||||
|
|
||||||
!!! danger
|
!!! danger
|
||||||
|
Loading…
Reference in New Issue
Block a user