Remote Access Service is unable to enable Routing and Remote Access for the probable reason like: exceptions in API to check ...

Remote Access Service is unable to enable Routing and Remote Access for the probable reason like:  exceptions in API to check the status of  windows firewall service. In this case RAS may not accept vpn connections.
User Action: Manually open the port of Routing and Remote Access in the windows firewall if it is running.