Thanks Nitun, I tried your suggestion and it didn’t seem to help. I’ve switched line 19 in ffmpeg_server.js to the EC2 IP address (54.186.129.130) and also my WordPress server IP (64.150.182.188) and neither one makes much difference.
When I switch the IP’s the Curl command stops working (even if I substitute 127.0.01 for my EC2 IP in the curl command).
Right now I think my ffmpeg server is working. If I use the command you provided above:
node ffmpeg_server.js >> /var/log/ffmpeg_server.log & I get back:~
Error: listen EADDRINUSE
at errnoException (net.js:901:11)
at Server._listen2 (net.js:1039:14)
at listen (net.js:1061:10)
at net.js:1135:9
at dns.js:72:18
at process._tickCallback (node.js:415:13)
at Function.Module.runMain (module.js:499:11)
at startup (node.js:119:16)
at node.js:901:3
Error: SQLITE_ERROR: duplicate column name: duration
Error: SQLITE_ERROR: duplicate column name: thumbs
[2]+ Done node ffmpeg_server.js >> /var/log/ffmpeg_server.log
If I use the command: curl http://127.0.0.1:1203/status
I get back:-
Remaining Queue
[]
Currently Processing
[]
Completed
[]
Current Parallel Processes:
0
Max Parallel Processes:
This I am assuming is telling me that the both ffmpeg and the Node are working? The “Error: listen EADDRINUSE” seems to be a problem though?
Thanks for your help — Dave