databucket-server icon indicating copy to clipboard operation
databucket-server copied to clipboard

Getting incorrect port for API

Open Falanger-debug opened this issue 1 year ago • 1 comments

I use in configuration server port: 8090, but frontend uses 8080 for API. image

Falanger-debug avatar Mar 07 '24 11:03 Falanger-debug

I also observed the same. I had to remove Jenkins from 8080 and run Databucket there.

guptapratik10 avatar Mar 12 '24 11:03 guptapratik10

I've tried to reproduce it. It works on my computer. Maybe this is some corner case I can not repeat.

server:
  port: 8090
  servlet.context-path: /

image image

kslysz avatar Aug 20 '24 14:08 kslysz

Ok. I see. It occurs when run inside IDE. I'll check what is wrong.

kslysz avatar Aug 20 '24 14:08 kslysz

It seems to be overwritten by IntelliJ. It can be forced by adding property in the "Run/Debug Configurations". image

kslysz avatar Aug 21 '24 08:08 kslysz