suciwulans Active Member Licensed User Longtime User Aug 22, 2023 #1 i read tutorial https://www.b4x.com/android/forum/threads/server-building-web-servers-with-b4j.37172/ . first i install XAMMP. in folder htpdoc i put 2 sub folder which is httpdoc-cctvserver using port 51044 and httpdoc-iotserver using port 51042 for werbsocket. when i using browser chrome http://ipaddress::51044/cctvserver the restpon is not found this same as when use http://ipaddress::51042/iotserver still respon not found. my question is how to access index.html from different sub folder? if i put index.html for iotserver on httpdoc folder it work. if i put inside subfolder iotserver the respon not found.
i read tutorial https://www.b4x.com/android/forum/threads/server-building-web-servers-with-b4j.37172/ . first i install XAMMP. in folder htpdoc i put 2 sub folder which is httpdoc-cctvserver using port 51044 and httpdoc-iotserver using port 51042 for werbsocket. when i using browser chrome http://ipaddress::51044/cctvserver the restpon is not found this same as when use http://ipaddress::51042/iotserver still respon not found. my question is how to access index.html from different sub folder? if i put index.html for iotserver on httpdoc folder it work. if i put inside subfolder iotserver the respon not found.
aeric Expert Licensed User Longtime User Aug 22, 2023 #2 You don't need xampp if you want to use B4J Server. B4J Server itself is a server. For different route/path, you use server or websocket handlers. Upvote 0
You don't need xampp if you want to use B4J Server. B4J Server itself is a server. For different route/path, you use server or websocket handlers.