fix elastica host configuration

bug: the host configuration is ignored, always using localhost