英文:
How to change UIServer port for Deeplearning4j from 9000 to some other?
问题
目前我有一个预配置的VPN客户端,由于某种原因它使用了9000端口,并且没有办法重新配置它。如何将dl4j的UIServer初始化到另一个端口?
UIServer基于Eclipse Vert.x。我已经尝试设置 -Dhttp.port=9001
的虚拟机变量,但没有成功。
英文:
Currently I have a preconfigured VPN client that for some own sake uses exactly 9000 and there is no way to reconfigure it. How can I initiate dl4j's UIServer to some other port?
UIServer is based on Eclipse Vert.x. I have been tried to set up -Dhttp.port=9001
VM variabe, but with no success.
答案1
得分: 2
正确的方法,如文件中于2020年4月10日所述,是使用-Dorg.deeplearning4j.ui.port=9001
。
另一种(不太推荐的)方法是使用自定义的UIServer类,并修改getInstance
方法以修改将要使用的VertexUIServer端口。
英文:
The correct way, as documentation says on 10 april 2020, is using -Dorg.deeplearning4j.ui.port=9001
.
May another (ugly) way is to use a custom UIServer class and change the method getInstance
to modify which VertexUIServer port will be used.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论