Enable or disable em express 12c

Check whether em is enabled or not.
Note: if output 0 means, emexpress disabled

select dbms_xdb.getHttpPort() from dual;
select dbms_xdb_config.getHttpsPort() from dual;

Enable emexpress with https

SQL> exec dbms_xdb_config.sethttpsport(5500);

Enable emexpress with http

SQL> exec dbms_xdb_config.sethttpport(8080);

Disable em express (set port to 0)

SQL> exec dbms_xdb_config.sethttpsport(0);
SQL> exec dbms_xdb_config.sethttpport(0);

1 thought on “Enable or disable em express 12c

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.