语言

Menu
Sites
Language
Web Server Service

Hello

I'm trying to launch web server application on Tizen platform .  I use native app -> Service App template . Server runs normally , but it doesn't respond to browser requests . Seems that app doesn't have internet permissions . I set a lot of priviliges in manifest ( internet privilage as well) but it doesn't help .

When I build my server with GBS and launch binary file it works fine / The problem is only when it is web service application. 

I had similar issue on Android , and setting interner permissions in manifest solved the problem /

Thanks for any help!

 

编辑者为: Brock Boland 17 3月, 2014 原因: Paragraph tags added automatically from tizen_format_fix module.

响应

5 回复
kimi
Hi Bond, Try with the privilege "http://tizen.org/privilege/http". Kimi.
George Bond
Hi Kimi, I tried all avaliable priviliges, but this didn't help. They simply don't work , or it's not about priviliges. Thanks!
George Bond
I've just found out that Tizen checks privileges only if prigileged API being used . My server is fully based on Boost library , so I don't need privilages in this case .
kimi
Hi George, First, It needs to be checked if the communication between Web server and browser is using socket. If the answer is yes, it is prohibited by platform policy. In this case, MessagePort should be used.
George Bond
Hello kimi, Yes, server creates socket . When I check with netstats I can see my server running and port status is listening. Where can I read about this prohibition? There should be another method to use this server ... Thanks, George