Hi Ashwani,
As your solution manager public ip has been changed now for new public ip you need to register the same with SAP also.For this you can create a support ticket to update your IP details at SAP end,after that you'll be able to make R/3 connections to SAP.
Hope this will help you.
Regards,
Gaurav