Use the right socket file in Input