However, while trying to get a ruby/rails development environment set up, I ran into issues.
* I can create a very simple project successfully:
Code: Select all
myserver:~$ rails new myproject
... lots of output... done!
Code: Select all
myserver:~$ cd myproject
myserver:~/myproject$ rails s
=> Booting WEBrick
=> Rails 4.2.5.1 application starting in development on htt p://localhost:3000
=> Run `rails server -h` for more startup options
=> Ctrl-C to shutdown server
[2016-02-08 13:02:13] INFO WEBrick 1.3.1
[2016-02-08 13:02:13] INFO ruby 2.1.5 (2014-11-13) [x86_64-linux-gnu]
[2016-02-08 13:02:13] INFO WEBrick::HTT PServer#start: pid=1438 port=3000
Code: Select all
myserver:~/myproject$ curl htt p://localhost:3000
<!DOCTYPE html>
<html lang="en">
<head>
... lots of html ...
</body>
</html>
I am presently using port-forwarding (successfully) to work with ssh (2223 -> 22), htt p (8083 -> 80), etc... with no problem.
Any ideas about what might have gone wrong here, or where I can look to find the answers?