51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

查看: 6346|回复: 2
打印 上一主题 下一主题

我用命令启动 Selenium Server时总是提示 port 4444. Or

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2010-7-15 15:28:04 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
我用java -jar selenium-server.jar -interactive命令启动 Selenium Server时总是提示Exception in thread "main" java.net.BindException: Selenium is already running o
n port 4444. Or some other service is.这是怎么回事啊!
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

该用户从未签到

2#
发表于 2010-7-16 07:40:34 | 只看该作者
seems the port is occupied. Use netstat to check if any other program is using this port. Most likely another selenium server is not throughly "dead". Kill all java processes in your task manager. If doesn't help, restart your machine; still not work, appoint another port to your selenium server.
回复 支持 反对

使用道具 举报

该用户从未签到

3#
发表于 2010-7-18 10:55:21 | 只看该作者
端口被占用了,可以在启动时指定端口,例如
java -jar selenium-server.jar  -port 5555
回复 支持 反对

使用道具 举报

本版积分规则

关闭

站长推荐上一条 /1 下一条

小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

GMT+8, 2024-4-26 20:55 , Processed in 0.071808 second(s), 26 queries .

Powered by Discuz! X3.2

© 2001-2024 Comsenz Inc.

快速回复 返回顶部 返回列表