A local server for use in an electronic device that has an operating system running a browser to use cloud computing to access web applications in the cloud and using the browser as a user interface, wherein the local server has a corresponding URL and a dedicated network port, wherein upon receiving a service request from a web application running in the browser of the operating system of the electronic device, the local server analyzes a service type of the service request and performs an operation to at least one hardware resource corresponding to the service type, wherein the service request is generated and directed to the local server according to the URL and the dedicated network port of the local server by the web application running in the browser of the operating system, and wherein the service request is generated periodically.