gpt4 book ai didi

playframework - Typesafe Activator 0.3.0 无法绑定(bind)到 :/127. 0.0.1:8888

转载 作者:行者123 更新时间:2023-12-04 06:19:19 26 4
gpt4 key购买 nike

我正在尝试使用 typesafe-platform 并且当我运行命令 时激活器 ui 我得到这个异常(exception):

C:\activator-0.3.0>activator ui Found previous process id: 7552 Play server process ID is 3828 [info] play - Application started (Prod) Oops, cannot start the server.


org.jboss.netty.channel.ChannelException: Failed to bind to: /127.0.0.1:8888
at org.jboss.netty.bootstrap.ServerBootstrap.bind(ServerBootstrap.java:272)
at play.core.server.NettyServer.<init>(NettyServer.scala:129)
at play.core.server.NettyServer$.createServer(NettyServer.scala:229)
at play.core.server.NettyServer$$anonfun$main$5.apply(NettyServer.scala:261)
at play.core.server.NettyServer$$anonfun$main$5.apply(NettyServer.scala:260)
at scala.Option.map(Option.scala:145)
at play.core.server.NettyServer$.main(NettyServer.scala:260)
at activator.UIMain$$anonfun$run$1.apply$mcV$sp(UIMain.scala:107)
at activator.UIMain$$anonfun$run$1.app`enter code here`ly(UIMain.scala:107)
at activator.UIMain$$anonfun$run$1.apply(UIMain.scala:107)
at activator.UIMain.withContextClassloader(UIMain.scala:179)
at activator.UIMain.run(UIMain.scala:107)
at activator.UIMain.run(UIMain.scala:86)`enter code here`
at xsbt.boot.Launch$$anonfun$run$1.apply(Launch.scala:57)
at xsbt.boot.Launch$.withContextLoader(Launch.scala:77)
at xsbt.boot.Launch$.run(Launch.scala:57)
at xsbt.boot.Launch$$anonfun$explicit$1.apply(Launch.scala:45)
at xsbt.boot.Launch$.launch(Launch.scala:65)
at xsbt.boot.Launch$.apply(Launch.scala:16)
at xsbt.boot.Boot$.runImpl(Boot.scala:31)
at xsbt.boot.Boot$.main(Boot.scala:20)
at xsbt.boot.Boot.main(Boot.scala)
Caused by: java.net.BindException: Address already in use: bind
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Net.java:444)
at sun.nio.ch.Net.bind(Net.java:436)
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:214)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
at org.jboss.netty.channel.socket.nio.NioServerBoss$RegisterTask.run(NioServerBoss.java:193)
at org.jboss.netty.channel.socket.nio.AbstractNioSelector.processTaskQueue(AbstractNioSelector.java:366)
at org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:290)
at org.jboss.netty.channel.socket.nio.NioServerBoss.run(NioServerBoss.java:42)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:724)

但是没有进程使用8888端口。

我正在使用带有 JDK 1.7 更新 25 64 位的 Windows 8 Pro

我在 PATH 环境变量中使用 Play 2.1.3

有人遇到过这个问题吗?

谢谢

最佳答案

您现在可以使用 http.port 覆盖默认端口Java 参数。所以要在端口 9999 上启动 UI做:

activator -Dhttp.port=9999 ui

关于playframework - Typesafe Activator 0.3.0 无法绑定(bind)到 :/127. 0.0.1:8888,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18471130/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com