Skip to content

Which IP does a call from angular use for backend call?

Maybe that’s a easy question (I am sure it is). But I couldn’t find an answer yet.
My Angular frontend and Java Backend are running on the same server, with the same domain.
From witch IP is the Backend called by the frontend? The server ip? Or the client ip of the user?


The frontend is only hosted by your server. It is then downloaded and executed by the browser of your customers. Hence the IP will be the one from where your customer’s browser executes the calls to your backend. Your customer’s IP.