LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 2429|回复: 2

sopcast-拒绝连接问题(已解决)

[复制链接]
发表于 2007-1-13 23:52:40 | 显示全部楼层 |阅读模式
安装的是fedora-cn的软件包,sp-sc版本为0.98,打开图形界面gsopcast (版本0.28)打开频道状态总是显示为connecting

在命令行下运行得到以下输出:

  1. [root@localhost ~]# sp-sc sop://broker.sopcast.com:3912/6002 3908 6002 > /dev/null &
  2. [1] 10431
  3. [root@localhost ~]# vlc http://localhost:6002/tv.asfVLC media player 0.8.5 Janus
  4. starting VLC root wrapper... using UID 0 (root)
  5. ***************************************
  6. * Running VLC as root is discouraged. *
  7. ***************************************

  8. It is potentially dangerous, and might not even work properly.
  9. [00000293] main access error: Connection to localhost port 6002 failed: 拒绝连接
  10. [00000293] access_http access error: cannot connect to localhost:6002
  11. [00000293] main access error: Connection to localhost port 6002 failed: 拒绝连接
  12. [00000293] access_http access error: cannot connect to localhost:6002
  13. [00000293] main access error: Connection to localhost port 6002 failed: 拒绝连接
  14. [00000293] access_mms access error: cannot connect to localhost:6002
  15. [00000290] main input error: no suitable access module for `http://localhost:6002/tv.asf'
  16. [00000281] main playlist: nothing to play
  17. [00000281] main playlist: stopping playback
  18. [root@localhost ~]# ./sp-sc sop://211.152.34.35:3912/14299 3908 14299 > /dev/null &
  19. [2] 10484
  20. [1]   Exit 147                sp-sc sop://broker.sopcast.com:3912/6002 3908 6002 >/dev/null
  21. [root@localhost ~]# sp-sc sop://211.152.34.35:3912/14299 3908 14299 > /dev/null &
  22. [3] 10485
  23. [2]   Exit 127                ./sp-sc sop://211.152.34.35:3912/14299 3908 14299 >/dev/null
  24. [root@localhost ~]# sp-sc sop://211.152.34.35:3912/14299 3908 14299 > /dev/null &
  25. [4] 10486
  26. [root@localhost ~]# vlc http://localhost:14299/tv.asfVLC media player 0.8.5 Janus
  27. starting VLC root wrapper... using UID 0 (root)
  28. ***************************************
  29. * Running VLC as root is discouraged. *
  30. ***************************************

  31. It is potentially dangerous, and might not even work properly.
  32. [00000293] main access error: Connection to localhost port 14299 failed: 拒绝连接
  33. [00000293] access_http access error: cannot connect to localhost:14299
  34. [00000293] main access error: Connection to localhost port 14299 failed: 拒绝连接
  35. [00000293] access_http access error: cannot connect to localhost:14299
  36. [00000293] main access error: Connection to localhost port 14299 failed: 拒绝连接
  37. [00000293] access_mms access error: cannot connect to localhost:14299
  38. [3]   Exit 147                sp-sc sop://211.152.34.35:3912/14299 3908 14299 >/dev/null
  39. [4]   Exit 147                sp-sc sop://211.152.34.35:3912/14299 3908 14299 >/dev/null

  40. [5]+  Stopped                 vlc http://localhost:14299/tv.asf
  41. [root@localhost ~]#
复制代码


ping localhost 正常
hosts文件为空但在图形界面里设置了主机名(很奇怪为何hosts为空?)

图片太大了,
主机名:localhost.localdomain  
主DNS:220.170.0.18
第二DNS:220.170.0.38
第三DNS:空
DNS 搜索路径:localdomain

是在是搞不懂了,请各位指教!

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
发表于 2007-1-14 01:16:02 | 显示全部楼层
hosts文件加上一行:

127.0.0.1  localhost
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-1-14 01:33:29 | 显示全部楼层
好了,谢谢ogog大哥,问题解决,呵呵,应该是现在看的人少吧,呵呵,卡得很,奇慢无比!!!
我感到奇怪的是,我自己也试着加过 127.0.0.1   localhost.localdomain   localhost,怎么没用啊?
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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