Whoa - that looks like an exciting journey to take !
There are direct flights but no direct trains for this journey. Mumbai (Maharashtra) to Port Blair (Andaman And Nicobar Islands) distance is 2282 km and you can get there by flight in just over 4 hours and 40 minutes or by train + flight fares starting from ₹ 3843.
The temperatures at this time of the day are in a comfortable range.