Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

How to configure Oracle JET 18.0.0 to serve on specific IP and port?

Alex111Feb 23 2025

Hello,

I'm trying to configure Oracle JET 18.0.0 to serve my application on a specific IP (999myip999) and port (8202) instead of the default localhost:8000.

I've tried several approaches:

1. Command line arguments:

ojet serve web --host=999myip999 --port=8202
ojet serve web --hostname=999myip999 --port=8202

2. Configuration in ojet-serve.json:

{
"web": {
"hostname": "999myip999",
"port": 8202,
"livereload": {
"port": 35729
}
}
}

3. Configuration in oraclejetconfig.json:

{
"webServer": {
"host": "999myip999",
"port": 8202
}
}

However, the application still serves on localhost:8000. How can I configure Oracle JET to serve on my specific IP and port?

Environment:
- Oracle JET version: 18.0.0
- Node.js version: >=16.0.0
- Installation: Local (not global)

Comments

Post Details

Added on Feb 23 2025
0 comments
42 views