title: Serilog Seq Sink with Docker is not capturing events
body: <p>I am running a web api and console apps on Net Core 3.1 on Windows 10 Professional. I have sinks for console, text file, json file, mssql, and seq. They each log all events, except seq does not log any event. </p>
  
  <p>I installed Docker with the following command:</p>
  
  <blockquote>
    <p>docker run -d --restart unless-stopped --name seq -e ACCEPT_EULA=Y -v D:\Logs\Seq:/data -p 8081:80 datalust/seq:latest</p>
  </blockquote>
  
  <p>I created the logger with this code:</p>
  
  <pre><code>Log.Logger = new LoggerConfiguration()
      .MinimumLevel.Information()
      .MinimumLevel.Override("Microsoft", LogEventLevel.Warning)
      .MinimumLevel.Override("System", LogEventLevel.Warning)
      .Enrich.FromLogContext()
      .Enrich.WithMachineName()
      .Enrich.WithEnvironmentUserName()
      .Enrich.WithProcessId()
      .Enrich.WithThreadId()
      .WriteTo.Console()
      .WriteTo.File($@"{Constants.LogsDirectory}log-.txt", LogEventLevel.Information, rollingInterval: RollingInterval.Day)
      .WriteTo.File(new JsonFormatter(), $@"{Constants.LogsDirectory}log-.json", rollingInterval: RollingInterval.Day)
      .WriteTo.MSSqlServer(DatabaseAccess.ConnectionString(context), nameof(ProcessMessageLog), columnOptions: columnOptions)
      .WriteTo.Seq("http://localhost:8081")
      .CreateLogger();
  </code></pre>
  
  <p>I see the following in my seq.json file in the D:\Logs\Seq directory:</p>
  
  <pre><code>  "api": {
      "listenUris": [
         "http://localhost:8081"
      ],
  </code></pre>
  
  <p>I also see log files written every minute, but none of them capture events from by web api or console apps.</p>
  
  <p>When I go to <code>localhost:8081</code>, I get a <code>"localhost refused to connect."</code> message.</p>
  
  <p>I suspect I have the port numbers wrong, but I don't know. Are they supposed to be different or the same between 1) the docker setup, 2) the seq.json value, 3) the logger creation?</p>