ruby on rails - How to change the default port of an EC2 instance -


i've got rails application running on port 3000 (or port want matter) , can access browsing public ip so: 1.2.3.4:3000 reach same page omitting port number, since domain registrar allows public ip, , no port number. there setting somewhere direct incoming traffic site specific port?

there number of ways this:

  • tell rails use port 80 natively (see here)
  • use iptables forward port 80 traffic 3000 (see here)
  • front instances elb, , port map 80 3000 (see here)

Comments

Popular posts from this blog

javascript - Slick Slider width recalculation -

jsf - PrimeFaces Datatable - What is f:facet actually doing? -

angular2 services - Angular 2 RC 4 Http post not firing -