Hi,
I have a little issue, I’m trying to get the IPV4 address server-sided but I’ve not found a way to get the IPV4. I only saw a topic about the GetConvar("web_baseUrl", "")
but that’s not where I’m looking for since I just want to get the IPV4 nothing else.
I hope anyone knows how to get the IPV4 server-sided.
All help will be appreciated.
Kind regards,
DutchLua
Easiest solution is to do a http request to a service like http://api.ipify.org/ which then returns your ip address.
Note though often when you want your own ip you are doing something wrong in your way of thinking for example don’t send a http request “hey my ip is and I want to send this data”, the remote server already knows your ip.
Thank you very much for your fast reply. Really apriciate it! I will try it out, thanks.
How do I use
PerformHttpRequestInternal()
the right way?
Can you maybe show me an example?
Never mind, I found an example on the forum. 