문제

I have my server and servlets set up on openshift redhat server. I have an android application that needs to use these servlets.

Normally on localhost the ipaddress in android would look like this

http://10.0.2.2:8080/SRD/

but now I want it to connect to cloud server so I tried:

http://xxx-caffeinepowered.rhcloud.com:8080/SRD/

but that's not working. What should the address be?

도움이 되었습니까?

해결책

JUst drop the 8080 from your url and it should work. We redirect all http traffic over port 80

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top