title: How to open port with Fastify?
body: <p>I'm trying to use Fastify with my project, but when I want to start the server, it isn't opening the specific port.</p>
  <p>I'm creating the server like this:</p>
  <pre><code>import { NestFactory } from &quot;@nestjs/core&quot;;
  import { NestFastifyApplication, FastifyAdapter } from &quot;@nestjs/platform-fastify&quot;;
  import { AppModule } from &quot;./app.module&quot;;
  
  async function bootstrap() {
    const app = await NestFactory.create&lt;NestFastifyApplication&gt;(
      AppModule,
      new FastifyAdapter()
    );
    await app.listen(3000, '0.0.0.0');
  }
  bootstrap();
  </code></pre>
  <p>It says the application is successfully started, but when I check with <strong>netstat -ano</strong>,
  the address(<em>0.0.0.0:3000</em>) isn't there.<a href="https://i.stack.imgur.com/Altum.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Altum.png" alt="The port that's supposed to open is 3000, the app's PID is 27324" /></a></p>
  <p>The server logs:
  <a href="https://i.stack.imgur.com/gqmgL.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gqmgL.png" alt="Log1" /></a>
  <a href="https://i.stack.imgur.com/TPdDU.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/TPdDU.png" alt="Log2" /></a>
  <a href="https://i.stack.imgur.com/OcEII.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/OcEII.png" alt="Log3" /></a>
  <a href="https://i.stack.imgur.com/95Cb9.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/95Cb9.png" alt="Log4" /></a></p>