FXServer not starting, ECONNREFUSED error with TCP packet

The FXDK server wont start whenever I try to start it

If you manually try to start a server using the exact same command line commands as the program it gives this error:

The line above causing the error is located in sdk-server.js, with the below lines causing the error.

const pipe = '\\\\.\\pipe\\fxdk_fxserver_sdk_game';
const ipc = net.createConnection(pipe);
const send = (type, data) => {
  ipc.write(JSON.stringify([type, data]) + '\n');

So I tested it on my own and it seems net.createConnection always gives ECONNREFUSED.

Test code:

const net = require('net');
const client = net.createConnection({ port: 8124}, () => {
  // 'connect' listener.
  console.log('connected to server!');
client.on('error', function(e) {
client.on('data', (data) => {
client.on('end', () => {
  console.log('disconnected from server');


Error: connect ECONNREFUSED
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1146:16) {
  errno: -4078,
  syscall: 'connect',
  address: '',
  port: 8124

I know this issue is a issue with my PC and not with FXDK however I am posting here hoping someone will understand what is wrong. I know that ECONNREFUSED and packet errors in-general often don’t mean what they say so I am going to attach a tcpdump below. I don’t quite know how to read packets so I am hoping someone else does and can tell me what error is really happening.

Link to the pcap file to view the packets Click me