connecting api to port 80