php - How to block remote requests -


in our wordpress theme check user license wp_remote_get() request. users reported host didn't allow remote requests. question how can test myself locally development, how can simulate block remote request.

searched lot found nothing works.

i use apache, php , mysql (latest versions)

thanks!

my best try edit hostfile. mac hostfile located @

$ sudo nano /etc/hosts 

and add following line , save.

169.254.1.1  yourdomain.com 

to recreate users problems.


Comments

Popular posts from this blog

timeout - Handshake_timeout on RabbitMQ using python and pika from remote vm -

gcc - MinGW's ld cannot perform PE operations on non PE output file -

c# - Search and Add Comment with OpenXML for Word -