Skip to main content


Embedded httpd for Cordova apps. Light weight HTTP server.

Stuck on a Cordova issue?

Don't waste precious time on plugin issues.

If you're building a serious project, you can't afford to spend hours troubleshooting. Ionic’s experts offer premium advisory services for both community plugins and premier plugins.


$ npm install cordova-plugin-httpd $ npm install @ionic-native/httpd $ ionic cap sync

Supported Platforms#

  • Android
  • iOS
  • macOS



Learn more about using Ionic Native components in React


import { Httpd, HttpdOptions } from '@ionic-native/httpd/ngx';
constructor(private httpd: Httpd) { }

let options: HttpdOptions = {     www_root: 'httpd_root', // relative path to app's www directory     port: 80,     localhost_only: false }
this.httpd.startServer(options).subscribe((data) => { console.log('Server is live');});