on ‎2018 Dec 13 7:31 AM
Hi,
I have Hybris Storefront running on my local machine. I need to access the Storefront and REST v2 Webservices running in my local machine, from another application or network
I have configured my machine to have public IP. But I could not access the storefront or Web services APIs from my machine itself.
My Web Service API looks like below **https://electronics.local:9002/authorizationserver/oauth/token?client_id=demo_client&client_secret=s...
Also my Storefront url is **https://electronics.local:9002/octcommonstorefront/electronics/en/**.
My local.properties has the following : website.electronics.https=https://electronics.local:9002/octcommonstorefront
What configuration changes I need to do, to access both from another network.
thanks, Vinod
Request clarification before answering.
Hi Vinod,
What is the template you have used to create octcommonstorefront? You have to use ant modulegen and use the template commercewebservices. Also, please check the extensioninfo.xml of octcommonstorefront for webroot="/octcommonstorefront". If it is something else e.g. webroot="/myws", you will have to access your webservices using /myws e.g. https://localhost:9002/myws/v2/electronics/products/489702
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Arvind, Thanks for your reply. I have created storefront using ant modulegen. Also used commercewebservices template. I could access storefront and web services locally. But to access from another application from another net work, I have made my machine configured to public IP. Now only I could not access from another network. Do we need to do anything for this in hybris local.properties or any other configuration. thanks, Vinod
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.