> 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-nodejs/functions/isrunningport-port.md).

# isRunningPort(port)

Checks if the given port is currently running (forwarded).

```javascript
isRunningPort(port)
```

***

## Parameters

* **port** (<mark style="color:green;">number</mark>) – Port to check.

## Return Value

number – 1 if running, 0 if not.

## Example

```javascript
// example

const running = sdk.isRunningPort(60000) === 1;
console.log("Running:", running);

```
