This wordpress plugin changes your site url and home url localhost to your ip or another url. You can share your localhost wordpress site via ip address or another url.