Showing localhost even i add ip address in website integration

Hi Team, Please guide me or help me regarding following issue.
tiledesk server is running on laptop-a,accessing the web integration html page in another laptop-b with laptop-a ip address.while accessing the html page in laptop-b but internally it was the calling the localhost like this http://localhost:8081/api/649bc1ba76bffa0013941072/widgets.