In general, the Google search results may vary from time to time. Sometimes, it may show the snippet with IP address instead of the domain URL in search results.
If it is the case we can fix it in either of two ways:
- The best way is to do 301 permanent redirection the IP to the domain
- Use canonical tag in the corresponding page