<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@mike-north/devcert-patched](./devcert-patched.md) &gt; [closeRemoteServer](./devcert-patched.closeremoteserver.md)

## closeRemoteServer() function

Closes the remote server

<b>Signature:</b>

```typescript
export declare function closeRemoteServer(hostname: string, port: number): Promise<string>;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  hostname | <code>string</code> | hostname of the remote machine |
|  port | <code>number</code> | port to connect the remote machine |

<b>Returns:</b>

`Promise<string>`

