mya Posted December 29, 2017 Report Share Posted December 29, 2017 Hi, I need a place where I can get a free Unbunto server accesible to the internet which can open port 80 so that I can run a small prolog server inside. Anyone know where I can get such a server? We already have Azure, but our student accounts cannot create a ubunto server. We also have AWS Amazon Student but we are having trouble with it and it's SSH login nightmare. We also have a ubunto server on school, but it's invisible to the internet due to network stuff. In case you are wondering I need the server to run a SWI Prolog server wich contains a an optimization algorithm (Simulated Anneling) for delivery routes (traveling salesman) that must be accessed by an DOT.NET server from Azure for 2-5 min once a day + testing. So anyone knows any other company allowing free test ubunto servers without credit card? Link to comment Share on other sites More sharing options...
mya Posted December 29, 2017 Author Report Share Posted December 29, 2017 Never mind, solved the AWS problem and am now serving on AWS. Talk about a supid company. Lots of people with the same problem.... Anyway if anyone knows a good cheep place to place a Unbunto or better yet a Windows Server 2012 playground warn me. Link to comment Share on other sites More sharing options...
egreir Posted December 29, 2017 Report Share Posted December 29, 2017 Not today, ISIS. Link to comment Share on other sites More sharing options...
Lloth Posted December 29, 2017 Report Share Posted December 29, 2017 Why specifically 80? Link to comment Share on other sites More sharing options...
Dale Posted December 29, 2017 Report Share Posted December 29, 2017 You made that a lot more complicated than it needed to be. But maybe you haven't heard of MapQuest? Link to comment Share on other sites More sharing options...
mya Posted December 29, 2017 Author Report Share Posted December 29, 2017 39 minutes ago, Lloth said: Why specifically 80? Well, I need to access it over the internet. Prolog builds an HTTP server on any port I wish, and I can probabably have ASP.net C# do posts at an port other than 80. But since I like to be able to use my web browser to check that server status. And I couldn't make Postman connect to any other port than 80. And I need Postman for proving it works. 11 minutes ago, Dale said: MapQuest I can't choose, I'm forced to use prolog and solve an travel salesman problem. I tried many many times. We were told we could use any language or tool ... except that we had to use prolog for this. Tortuous. We used https://www.openstreetmap.org and scaled down my city map ripping out only the streets. But it was still massive and parts of the graph were unconnected. To much uncertainty so I had to construct a new XML map over it by hand. Thankfully I had previous experience with optimization algorithms, so cooking up a TSP simulated annealing was pretty easy. But finding a way to connect it to our server on Azure was the hardest part. Link to comment Share on other sites More sharing options...
Lloth Posted December 29, 2017 Report Share Posted December 29, 2017 Have you tried setting port redirection for postman traffic to redirect from 80 to 443/8080 outbound, and reverse for inbound. Can connect via https that way. Assuming you have an application firewall. Otherwise all your 80 traffic would redirect, which could cause issues. If that isn't a solution, and nobody finds one before I get back from my trip, I will do some digging. Most likely not gonna find any free service for a web based server that is dumb enough to leave 80 open. Link to comment Share on other sites More sharing options...
Implementor Erelei Posted December 29, 2017 Implementor Report Share Posted December 29, 2017 You don't need it to be on port 80 - you just need to have an apache/nginx proxy that forwards a directory to the port of your choice that this 'program' serves on. Link to comment Share on other sites More sharing options...
mya Posted December 30, 2017 Author Report Share Posted December 30, 2017 Don't bother @Lloth When I solved my AWS Amazon authentication login by degrading the RSSA key ??? from version 2 to 1 ???, I was able to access our fresh free Ubunto server. We got our own IP and DNS url thing, I promptly opened HTTP ports on their firewalls to the world and ran the prolog server as sudo on the virtual machine to get access to port 80. It's working. I can get my web browser to access my prolog "heartbeat/check if alive" get-reply and Postman to access our post-reply algorithm thing and obtain a solution. It works, and there's more interesting things to do in new years eve than to search stuff for an already solved problem. And I now have to focus on building our Supplier azure server in ASP.Net and how to schedule methods to run during nightime. But all of that, is for 2018. Lets enjoy the remainder of 2017 in tranquillity. 20 minutes ago, Erelei said: you just need to have an apache/nginx proxy Yeahh.... I kind skipped that part of Sys Admin classes. Linux admin is nightmarish and my skills are so low that I set a git repository so that I could transfer my files to the linux server ... I just needed some-place to run my prolog server accessible to the internet, since I couldn't run it on Azure. And once I luckly solved our AWS Amazon problem I simply served it on a Amazon virtual machine. It's just a prototype, as long I can glue it all together and it works for a month its OK. Link to comment Share on other sites More sharing options...
Dale Posted December 30, 2017 Report Share Posted December 30, 2017 That sucks, I worked as a door to door salesman for a while, mapquest was amazing. Link to comment Share on other sites More sharing options...
Implementor Erelei Posted December 30, 2017 Implementor Report Share Posted December 30, 2017 Proxy's with Apache are easy. Nginx is annoying, but if setup correctly, they're just as easy. You just need to read up on how to setup the ProxyPass for that domain: ---https://httpd.apache.org/docs/2.4/mod/mod_proxy.html --- Anyways. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.