Search code examples
yii2ip-addresscloud9-idegii

Need Cloud9 workspace IP address to access Yii2's Gii


I am trying to access the Yii2 framework's auto code generator (Gii) and I need the IP address for the Cloud9 workspace server I am on. http://www.yiiframework.com/doc-2.0/guide-start-gii.html

I tried doing an "echo $IP" from the CLI and it gives me a 0.0.0.0 but that does not work. When I try to add it here: http://prntscr.com/8xvxax I get this "Forbidden 403" message: http://prntscr.com/8xvxz9

How do I get the correct IP address???


Solution

  • "Open whatismyip.com in your browser, it should give you the right address. If all else fails, you can temporarily try allowing all addresses to access gii (add "*" to the list)."

    <<<<< This was the answer thanks to Beowulfenator