2017년 4월 28일 금요일

API connect through port 8080


Greetings, I want to connect to an API in PHP but using port 8080 ( or whatever different to 80 ) , and can not ; I returns error 1101 (no response ) and shows me that the URL is correct , for example 192.168.1.55:8080/test/miapi.php . The strange thing is that if I do using port 80 , works properly !. What am i doing wrong?

--
PS if I test in the emulator , it works !! It is not in the smartphone

--
Is your API hosted on your own computer?
Is the 8080 port open? Some old routers need to open it manually in the admin page (192.168.0.1 or  192.168.1.1)
Did you allow that port in your firewall?
If it's working in port 80, why you can't use in that port?

--

댓글 없음:

댓글 쓰기