GithubHelp home page GithubHelp logo

Comments (17)

2881099 avatar 2881099 commented on July 23, 2024

token 是从服务端接口获取的吗

from freeim.

loryrichie avatar loryrichie commented on July 23, 2024

是的

from freeim.

2881099 avatar 2881099 commented on July 23, 2024

127.0.0.1 6001 是什么服务

from freeim.

loryrichie avatar loryrichie commented on July 23, 2024

string urls = "http://localhost:47205/ws/pre-connect";
string result=HttpHelper.PostRequest(urls);
ServerModel server= JsonConvert.DeserializeObject(result);
websockedid = server.websocketId;
ClientWebSocket client= new ClientWebSocket();
client.ConnectAsync(new Uri(server.server), CancellationToken.None).Wait(20) ;

from freeim.

loryrichie avatar loryrichie commented on July 23, 2024

127.0.0.1 6001 是什么服务

6001是通过weiapi获取到的

from freeim.

2881099 avatar 2881099 commented on July 23, 2024

imserver 启动是用 127.0.0.1:6001 吗

from freeim.

loryrichie avatar loryrichie commented on July 23, 2024

imserver 启动是用 127.0.0.1:6001 吗

启动的时候显示:127.0.0.1:5000

from freeim.

loryrichie avatar loryrichie commented on July 23, 2024

image

from freeim.

loryrichie avatar loryrichie commented on July 23, 2024

我也很不解,在imserver里配置的 6001 ,怎么启动的时候就变5000了

from freeim.

2881099 avatar 2881099 commented on July 23, 2024

imserver 启动参数

—urls=http://127.0.0.1:6001

webapi, imserver 配置值 server 值都是 127.0.0.1:6001

webapi, imserver 的 redis 配置一样

imserver 的配置 servers 也配置成 127.0.0.1:6001

from freeim.

loryrichie avatar loryrichie commented on July 23, 2024

imserver 启动参数

—urls=http://127.0.0.1:6001

webapi, imserver 配置值 server 值都是 127.0.0.1:6001

webapi, imserver 的 redis 配置一样

imserver 的配置 servers 也配置成 127.0.0.1:6001

好的,谢谢大佬 ,我再重新弄下。

from freeim.

loryrichie avatar loryrichie commented on July 23, 2024

image
这张 图,显示的是5000,其实是6001,本机telnet 5000是不成功的,6001是成功 的,为什么要这么显示呢,有点奇怪

from freeim.

loryrichie avatar loryrichie commented on July 23, 2024

查了资料如果不指定端口,这里默认显示5000,原来是MS搞的

from freeim.

loryrichie avatar loryrichie commented on July 23, 2024

winform 还是连不上

from freeim.

2881099 avatar 2881099 commented on July 23, 2024

是什么提示?

from freeim.

loryrichie avatar loryrichie commented on July 23, 2024

是什么提示?

connecting 然后超时

from freeim.

2881099 avatar 2881099 commented on July 23, 2024

那就是连不上 imserver

from freeim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.