> For the complete documentation index, see [llms.txt](https://docs.9proxy.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.9proxy.com/developers/sdk/sdk-native-c/functions/isrunningport.md).

# IsRunningPort

Check if a proxy is currently running on the given port.

```c
int IsRunningPort(int port)
```

***

## Parameters

* **port**: Port to check.

## Return Value

* int: 1 if running, 0 if not.

## Example

```c
// example

int running = IsRunningPort(10001);

```
