# Trying to Create org and project scopes on premise!

**URL:** <https://discuss.hashicorp.com/t/trying-to-create-org-and-project-scopes-on-premise/59943>\
**Category:** Boundary\
**Created:** [November 10, 2023, 11:11am UTC](https://discuss.hashicorp.com/t/trying-to-create-org-and-project-scopes-on-premise/59943 "2023-11-10T11:11:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![antonio.gallegos-ros](https://avatars.discourse-cdn.com/v4/letter/a/5f8ce5/32.png) [@antonio.gallegos-ros](https://discuss.hashicorp.com/u/antonio.gallegos-ros)\
**Post date:** [November 10, 2023, 11:11am UTC](https://discuss.hashicorp.com/t/trying-to-create-org-and-project-scopes-on-premise/59943/1 "2023-11-10T11:11:54Z")

</div>

The first step is successfully!  
[root@hcbc1 boundary.d]# boundary database init -skip-auth-method-creation -skip-host -resources-creation -skip-scopes-creation -skip-target-creation -config /etc/bound ary.d/controller.hcl  
Migrations successfully run.  
Global-scope KMS keys successfully created.

Initial login role information:  
Name: Login and Default Grants  
Role ID: r\_gj3tZSr86e

The Second Step not well!

[root@hcbc1 boundary.d]# boundary scopes create -name ‘org’ -scope-id ‘global’ -recovery-config /tmp/recovery.hcl -skip-admin-role-creation -skip-default-role-creation  
Error trying to create scope: error performing client request during Create call: Post “[http://127.0.0.1:9200/v1/scopes?skip\_admin\_role\_creation=true&skip\_default\_role\_creation=true](http://127.0.0.1:9200/v1/scopes?skip_admin_role_creation=true&skip_default_role_creation=true)”: dial tcp 127.0.0.1:9200: connect: connection refused  
The Boundary server is started and enable!  
Any help would be Nice, thanks!

---

<div class="post-metadata">

**Author:** ![jeff](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/jeff/32/12882_2.png) [@jeff](https://discuss.hashicorp.com/u/jeff)\
**Post date:** [November 13, 2023, 6:15pm UTC](https://discuss.hashicorp.com/t/trying-to-create-org-and-project-scopes-on-premise/59943/2 "2023-11-13T18:15:24Z")

</div>

Hi there,

Boundary needs to be shut down when running `database init` or `database migrate` but needs to be running for other commands. It seems like Boundary was not started between the two.

Hope that helps!
