I have an Amazon EC2 Linux instance. I recently installed SmartFoxServer in my instance. For that I needed to open 9933 port. So I just created inbound rules on Amazon EC2 Manager console website.

My rule is

Custom - TCP Rule - TCP - 9933 -

But still my port is remain closed. Am unable to connect. Anything else I need to do after adding rules on security groups?

http://www.yougetsignal.com/tools/open-ports/ here in above url I checked whether my port is opened or not. Its closed

  • That site isn't a good test. I've just verified through testing that it reports everything not "open" (accepting connections) as "closed" and those are not the only possibilities, nor is it enough information. What happens if you try to connect with nc or telnet? (telnet x.x.x.x 9933) – Michael - sqlbot Feb 20 '15 at 2:42

I had the same problem but with wildfly server instead of SmartFox server so assuming you did try telnet and/or nc and still failed to reach the server at desired port, below is the fix that might work for you as well:

Wildfly instance (in your case Smartfox), according to configration file, was binding ports (in your case, 9933) with the network inrerface lo (loopback) and not with eth0 whereas all the rules in security groups apply to the interface facing the VPC i.e. eth0.

When I tweaked my wildfly configuration file to bind the ports with right interface, everything worked as expected whereas previously I was not able to telnet/nc to destination:port

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.