public ForumServer() { forum = new Forum(); database = new Database("database.json", forum); server = new HTTP_Server.Server(new System.Net.IPEndPoint(System.Net.Dns.GetHostAddresses(database.hostname)[0], database.port)); server.RequestRecieved += RequestRecieved; }