---
title: Restarting the server
description: Restart the PingDirectory server using the stop-server command with the --restart option.
component: pingdirectory
version: 10.3
page_id: pingdirectory:installing_the_pingdirectory_suite_of_products:pd_ds_restart_server
canonical_url: https://docs.pingidentity.com/pingdirectory/11.1/installing_the_pingdirectory_suite_of_products/pd_ds_restart_server.html
llms_txt: https://docs.pingidentity.com/pingdirectory/llms.txt
docs_for_agents: https://developer.pingidentity.com/build-with-ai/docs-for-agents.md
revdate: 2024-07-02T00:00:00Z
superseded_by: https://docs.pingidentity.com/pingdirectory/11.1/installing_the_pingdirectory_suite_of_products/pd_ds_restart_server.html
section_ids:
  about-this-task: About this task
  steps: Steps
  example: Example:
---

# Restarting the server

You can restart the server using the `stop-server` command with the `--restart` option.

## About this task

Running this command is equivalent to shutting down the server, exiting the Java Virtual Machine (JVM) session, and then starting up again.

## Steps

* Go to the server root directory, and run the `bin/stop-server` command with the `-R` or `--restart` option.

  ### Example:

  ```shell
  $ bin/stop-server --restart
  ```
