- Flexera Community
- :
- Flexera One
- :
- Flexera One Forum
- :
- How to create a policy datasource API with custom port
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How to create a policy datasource API with custom port
Hi,
i'm trying to create a custom policy using datasourse to collect data from other application,
Is there any way to add a port information in datasource request?
The API URL is: https://hostname:port/path..
- Mark as New
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I don't know if this is the answer, but have you tried including the port in the "host" value?
- Mark as New
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Chris,
I tryed both:
- add the port in the host ( "host:port")
Result: error - doesn't recognize the hostname
- add the port in the path( ":port/path")
Result: wrong URL - https://host/:port/path
- Mark as New
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi William,
I have reached out in private messages so we can get a case open, due to the sensitivity of some of these fields, to review this further. You should be able to pass the port in the hostname, as string, or you can use reverse proxy on the host to the correct port.
