# Server URL changing Agent restart

**URL:** <https://community.automationedge.com/t/server-url-changing-agent-restart/4954>\
**Category:** AutomationEdge API\
**Tags:** rpa\
**Created:** [October 21, 2021, 5:06am UTC](https://community.automationedge.com/t/server-url-changing-agent-restart/4954 "2021-10-21T05:06:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Arun9047](https://avatars.discourse-cdn.com/v4/letter/a/b2d939/32.png) [@Arun9047](https://community.automationedge.com/u/Arun9047)\
**Post date:** [October 21, 2021, 5:06am UTC](https://community.automationedge.com/t/server-url-changing-agent-restart/4954/1 "2021-10-21T05:06:40Z")

</div>

Hi Team,

i have changed my Server Url and now i need to run the agent again with new server url… while start the agent its throwing error. any body have solution for this.

@AE_Support@aesupport  
[image|690x387](https://community.automationedge.com/uploads/short-url/a5CnlBN9WhxJ5csSQKPko7aXzN0.jpeg)

“Agent with host details DEV-AGENT, Administrator and Administrator@DEV-AGENT has already been registered  
at com.automationedge.aeagent.util.AEServerUtil.registerAgent(AEServerUtil.java:214) ~[aeagent-7.0.0.jar:?]  
at com.automationedge.aeagent.util.AEServerUtil.doRegister(AEServerUtil.java:258) ~[aeagent-7.0.0.jar:?]  
at com.automationedge.aeagent.AgentMain.registerAgent(AgentMain.java:102) [aeagent-7.0.0.jar:?]  
at com.automationedge.aeagent.AgentMain.main(AgentMain.java:76) [aeagent-7.0.0.jar:?]  
The value of EXIT\_CODE is 1”

---

<div class="post-metadata">

**Author:** ![Garr14](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.automationedge.com/garr14/32/824_2.png) [@Garr14](https://community.automationedge.com/u/Garr14)\
**Post date:** [October 21, 2021, 11:17pm UTC](https://community.automationedge.com/t/server-url-changing-agent-restart/4954/2 "2021-10-21T23:17:30Z")

</div>

Hello @Arun9047

As mentioned in the error, it seems that the agent has been registered already.

Please try to delete the entry on portal, (if any)

Also download a new agent for new registration.
