Fix datetime import; set server port