How to enable elasticsearch on ipv4

Can someone let me know how to run elasticsearch only on ipv4.