title: Flask:Python - How to check IP address of the request
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/3759981/get-ip-address-of-visitors-using-python-specifically-flask-micro-framework">Get ip address of visitors using Python (specifically Flask micro-framework)</a>  </p>
  </blockquote>
  
  
  
  <p>I'm creating REST api with flask. I want to allow requests only from one (or more later on) IP addresses. How do I check for IP address in my view?</p>