how to call my application that is running on a server?

hey guys. i have a server
dev.burokelis.lt
, and i have java spring app deployed on it. its running fine, but i dont understand how to call its endpoints. when i was developing on my computer, in postman i used
localhost:8080/createPaymentInformation
, now whem im trying to call my app thats on a server, i do
dev.burokelis.lt:22/createPaymentInformation
, but nothing happens in postman. can smb help me out?
Was this page helpful?