sender.getIpAddress() Can not get correct IP

Post here your questions about SFS2X. Here we discuss all server-side matters. For client API questions see the dedicated forums.

Moderators: Lapo, Bax

zynbasil
Posts: 35
Joined: 23 May 2016, 03:59

sender.getIpAddress() Can not get correct IP

Postby zynbasil » 24 Aug 2016, 01:25

In amazon aws:

client->LOAD BALANCING->sfs2x(in EC2)

public void handleClientRequest(User sender, ISFSObject params)
sender.getIpAddress() is LOAD BALANCING IP ,not client IP

help~
User avatar
Lapo
Site Admin
Posts: 21079
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: sender.getIpAddress() Can not get correct IP

Postby Lapo » 24 Aug 2016, 13:12

There's nothing you can do about it from the SmartFoxServer side. Maybe there are settings on the Amazon side that allow you to change the behavior. I am not an expert on this topic, though.

Cheers
Lapo
--
gotoAndPlay()
...addicted to flash games

Return to “SFS2X Questions”

Who is online

Users browsing this forum: No registered users and 15 guests