- 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
- Printer Friendly Page
How to create a policy datasource API with custom port
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..
I don't know if this is the answer, but have you tried including the port in the "host" value?
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
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.