-2

I am trying to run a web server on an EC2 linux instance (free tier), so I followed the instructions to open the port but was unsuccessful getting it to work. My server is running locally and I can access it.

The steps I took are:

  1. Go to my security group.
  2. Add inbound rule: custom tcp, port 8080, from anywhere.
  3. I clicked saved.

However, it didn't seem to work. The only port that does work is 22. Just to verify, I tested on https://www.yougetsignal.com/tools/open-ports/

Anyone run into this problem before?

John Rotenstein
  • 241,921
  • 22
  • 380
  • 470
elesh.j
  • 192
  • 1
  • 3
  • 15
  • 1
    Stack Overflow is a site for programming and development questions. This question appears to be off-topic because it is not about programming or development. See [What topics can I ask about here](http://stackoverflow.com/help/on-topic) in the Help Center. Perhaps [Super User](http://superuser.com/) or [Unix & Linux Stack Exchange](http://unix.stackexchange.com/) would be a better place to ask. – jww Oct 18 '17 at 03:40
  • Are you actually running an app on port 8080? What did you install and configure? – John Rotenstein Oct 18 '17 at 04:00
  • Yes I am.. Wildfly. I can curl localy and retrieve results. – elesh.j Oct 18 '17 at 04:02
  • http://blog.arungupta.me/bind-wildfly-different-ip-address-multihomed/ – Dusan Bajic Oct 18 '17 at 10:04

1 Answers1

0

Since you can curl locally and you have added the inbound tcp rules in the security group, it is probably because of the firewall. Go to your instance, and edit your firewall to open the port 8080.

Thomas
  • 1,805
  • 1
  • 15
  • 31