REST Client is being rejected by PHP server running locally
I have a basic REST application running of PHP 5.4's internal server. I can access it in my browser just fine. However, I can't get the rest client to work with it. I get a connection time out message.
org.apache.http.conn.HttpHostConnectException: Connect to 10.0.2.2:8081 [/10.0.2.2] failed: Connection timed out: connect
It is running on localhost:8081. Has anyone had this problem?
请先登录再写评论。
Do you have AV/firewall?
Can you provide the log file (Help | Show log)?