Hi @Puneeth DC ,
Please check the url rewrite at server level. The request sent to port 5001 is likely to be redirected to the back-end server. You need to configure the rewrite rules to redirect to the backend server based on the port.
For example:
<conditions trackAllCaptures="true">
<add input="{HTTP_HOST}" pattern="(.*):80" />
</conditions>
Add this condition will only rewrite url with 80 port to backend server. Port 5001 doesn't match this condition and will not be rewritten.
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
Best regards,
Bruce Zhang