Getting error on running the web example provided by milestone

I am new to milestone. I trying to run the web example getting cors error. i already followed the instruction to enable cors with this link: https://developer.milestonesys.com/s/article/XProtect-Mobile-Server-app-on-different-server-CORS. But still getting error:

Access to XMLHttpRequest at ‘http://192.168.100.10/XProtectMobile/Communication’ from origin ‘http://localhost:5000’ has been blocked by CORS policy: Response to preflight request doesn’t pass access control check: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.

logging.js:5898 Command Connect failed

(anonymous) @ logging.js:5898

p @ logging.js:5842

r.onreadystatechange @ logging.js:2598

XMLHttpRequest.send (async)

Request @ logging.js:2630

g @ logging.js:5817

XPMobileSDK.library.ConnectionRequest @ logging.js:5776

Connection.sendCommand @ logging.js:5381

Connection.Connect @ logging.js:3194

r @ XPMobileSDK.js:330

connect @ XPMobileSDK.js:296

connectToServer @ loginManager.js:44

logging.js:2630 POST http://192.168.100.10/XProtectMobile/Communication net::ERR_FAILED

Hi Donny,

Did you restart Mobile Server after modifying VideoOS.MobileServer.Service.exe.config?

What’s the content of the HttpHeaders section of your config file now?