does someone have instructions/ideas on how to get a Xojo web app to run on amazon EC2 instance?
I allowed ports for security group, built for linux 64bit, but still the app fails to launch at all.
A normal Xojo console app works and it looks like listening on the socket fails.
// Run as a background process.
// See: http://developer.xojo.com/running-a-standalone-web-app-in-the-background
#If Not DebugBuild Then
If Not Daemonize Then
Print("Unable to Daemonize app.")
Quit
End If
#Endif
To launch your app:
./your-app-name --port=64010 &
And after lunching the app, to confirm that it is running and listening as expected:
Seems like another app blocks port 9000, as 9001 works locally.
So “curl -v http://127.0.0.1:9001” on server works, but still not reachable from outside.
[quote=360658:@Christian Schmitz]The security group has ports 8000 to 9999 allowed for incoming traffic on TCP/IP.
I am not aware of any other firewall.[/quote]
Are you sure there is no service catching the same port or already having it open?
How about seting the NetworkInterface different?