db socket changed for production