Symptom:

/connect irc.anyserver.com

Irssi: Unable to connect server irc.freenode.net port 6667 [Cannot
assign requested address: 208.69.36.132]


Cause:
Can't bind socket to the hostname specified in .irssi/config 
Same could happed to sshd.

Solution:

set hostname in config to the actual hostname,
make sure there is an entry with bindable valid ip in /etc/host.
to mask your ip, use cloak service on irc servers.