Associate IP addresses with countries [closed]
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . I want to show country flag depending on ip address I receive at server side. Are fixed ip addresses are assigned to countries ? Where can I get database for ip address to country mapping ? 回答1: Take a look at the following: IP address geolocation SQL database Geo Locate IP Address XML API Whois Map Country