简体   繁体   English

将类似Java套接字的程序放在云服务中

[英]Put a java socket-like program in a cloud service

I developed a server side java program, basically is a relay server so I can easily pass NATs and firewalls. 我开发了一个服务器端Java程序,基本上是一个中继服务器,因此我可以轻松地通过NAT和防火墙。 The program works, but now I need a cloud service to host it. 该程序可以运行,但是现在我需要一个云服务来托管它。 Do you know where/how I can put a java socket-like program in the cloud? 您知道我可以在哪里/如何在云中放置类似Java套接字的程序吗?

Obviously, I prefer a free service or at least a free service while I'm testing. 显然,我在测试时更喜欢免费服务,或者至少喜欢免费服务。

Thank you! 谢谢!

I don't think anyone is going to give you hosting/bandwidth for free. 我认为没有人会免费为您提供托管/带宽。 If you find someone that will, let me know. 如果您找到愿意的人,请告诉我。 :) :)

A host for testing should be simple enough if your traffic volume is small: just setup up a box somewhere and open a port to the outside world for you to use. 如果您的流量很小,测试主机应该足够简单:只需在某个地方设置一个盒子,然后打开一个通往外界的端口供您使用。

For production, there's always Amazon EC2 , although they're a bit expensive for my tasted when it comes to bandwidth. 对于生产来说,总是有Amazon EC2 ,尽管就带宽而言,对于我所喜欢的它们来说有点贵。 I've heard good things about linode and if you're willing to cough up enough money, I'm sure some hosting service will give you as much bandwidth as you desire. 我听说过有关linode的好消息,如果您愿意掏出足够的钱,我相信某些托管服务将为您提供所需的带宽。

无法使用Google创建Java套接字。

dev @ cloud (以前称为Stax)提供一些免费的应用程序托管,而Amazon的micro EC2实例在使用新的AWS帐户的前12个月内免费。

Have a look at the FREE GOOGLE APPS for personal use. 查看供个人使用的免费GOOGLE APPS。 All you have to do is to point a domain of your own to their Apps and enable "Google App Engine" 您所需要做的就是将自己的域指向其应用,然后启用“ Google App Engine”

Here is to get you started with Google Apps hosting: http://www.google.com/apps/intl/en/group/index.html 这是让您开始使用Google Apps托管的方法: http : //www.google.com/apps/intl/zh-CN/group/index.html

You'll get free e-mail hosting (GMAIL interface), free Google Docs and free Google Calendar as a bonus. 您将获得免费的电子邮件托管(GMAIL界面),免费的Google文档和免费的Google日历作为奖励。 Once you have registrated and pointed your domain to Google Apps Dashboard, then you can enable the App Engine. 注册域并将其指向Google Apps仪表板后,即可启用App Engine。

You'll find more info here: http://code.google.com/intl/us-en/appengine/ 您可以在此处找到更多信息: http : //code.google.com/intl/us-zh/appengine/

Please let me know if this works for you, as we dont use JAVA at my company, but only .NET 请告诉我这是否对您有用,因为我们不在我的公司中使用JAVA,而仅使用.NET

Hope this was the answer you were looking for and that you will mark it as such :o) 希望这是您正在寻找的答案,并希望将其标记为:o)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM