---
lang: en
title: 'API docs: testlab.hostport'
keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI
sidebar: lb4_sidebar
editurl: https://github.com/loopbackio/loopback-next/tree/master/packages/testlab
permalink: /doc/en/lb4/apidocs.testlab.hostport.html
---

<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@loopback/testlab](./testlab.md) &gt; [HostPort](./testlab.hostport.md)

## HostPort interface

An object that requires host and port properties

**Signature:**

```typescript
export interface HostPort 
```

## Properties

<table><thead><tr><th>

Property


</th><th>

Modifiers


</th><th>

Type


</th><th>

Description


</th></tr></thead>
<tbody><tr><td markdown="1">

[host](./testlab.hostport.host.md)


</td><td markdown="1">


</td><td markdown="1">

string


</td><td markdown="1">


</td></tr>
<tr><td markdown="1">

[port](./testlab.hostport.port.md)


</td><td markdown="1">


</td><td markdown="1">

number


</td><td markdown="1">


</td></tr>
</tbody></table>


