in reply to Working with Confluence and LWP
The error message you posted makes it appear as if the connection is being attempted to the URI rather than the host. Don't know if that's a clue.