configuration working for local tcp socket connection