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

java - unable show chart in xls document using jasper reports -

javascript - How to change image src on success AJAX -

java.lang.RuntimeException: Could not generate dummy secret at sun.security.ssl.RSAClientKeyExchange.<init> -