I have fixed the above my issue. There was a code placed in index.php if($_ SERVER['REMOTE_ADDR'] = '202.164.34.112'){ ...
If order placed using admin panel, at that time remote_ip field will emtpy
The IP addresses in the brackets come from the X_FORWARDED_FOR header of the request. If you had a reverse proxy such as Varnish ...
of those IPs on the server, especially if you do not sell to that country. nothing good will come from them anyway.
I figured it out, the following has to be added to the server block: set_real_ip_from 10.0.0.0/8; #your ip real_ip_header X-Real-IP; ...
Sometimes instead of the real customer IP address, you can see 127.0.0.1 or some other wrong customer IP in your Magento 2 Admin panel. It can be due to proxies, like
Magento online customer list showing server ip address instead of
Commerce Developer Documentation · PWA Studio · Order Management
I followed the documentation to override the order grid block like shown in other topics here. The remote ip column appears in the page but no values are returned.
Fetch updates from the remote server.