Changes made to reflect new api_port on 18.7.2014.