Any port in a storm means that any solution is acceptable in times of trouble, and the situation is dire enough that any solution is better than none.
Consider the statement "The situation is so dire that any solution no matter how unpleasant is acceptable.". Is the statement "The moment calls, quite literally, for any port in a storm." false? Yes/no/unknown