Server is setup correctly, exact same code works on other projects. Cant figure out whats wrong here