# Getting error while exporting realm file

**URL:** <https://forum.keycloak.org/t/getting-error-while-exporting-realm-file/25743>\
**Category:** Configuring the server\
**Created:** [April 26, 2024, 8:03am UTC](https://forum.keycloak.org/t/getting-error-while-exporting-realm-file/25743 "2024-04-26T08:03:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kanchantambe](https://avatars.discourse-cdn.com/v4/letter/k/7feea3/32.png) [@kanchantambe](https://forum.keycloak.org/u/kanchantambe)\
**Post date:** [April 26, 2024, 8:03am UTC](https://forum.keycloak.org/t/getting-error-while-exporting-realm-file/25743/1 "2024-04-26T08:03:44Z")

</div>

Tring to export realm file from below link given on keycloak site.

> **[Importing and Exporting Realms - Keycloak](https://www.keycloak.org/server/importExport#:~:text=To%20export%20a%20realm%2C%20you,started%20when%20invoking%20this%20command.&text=To%20export%20a%20realm%20to,%2D%2Ddir%20option.&text=When%20exporting%20realms%20to%20a,for%20each%20realm%20being%20exported)**
>
> Keycloak is an open source identity and access management solution

Getting below error,

keycloak@e78:/opt/bitnami/keycloak/bin$ kc.sh export --file D:\checkRealm.json  
Appending additional Java properties to JAVA\_OPTS: ‘-Djdk.security.allowNonCaAnchor=true’  
ERROR: transport error 202: bind failed: Address already in use  
ERROR: JDWP Transport dt\_socket failed to initialize, TRANSPORT\_INIT(510)  
JDWP exit error AGENT\_ERROR\_TRANSPORT\_INIT(197): No transports initialized [src/jdk.jdwp.agent/share/native/libjdwp/debugInit.c:744]
