I'm not a networking guru, but it sure looks like something is trying to connect with an IPv6 loopback address. To me, this is the smoking gun.
yes that much we figured it out here. Question is, why is isql able to connect, but not fdw via psql. At the end both isql and fdw should be using the same underlying mechanism to talk to db2.