from flask import request print request.remote_addr