updated config to access localhost