question

hotmailcombangu00-1467 avatar image
0 Votes"
hotmailcombangu00-1467 asked hotmailcombangu00-1467 answered

About service port listen

Dear all
i have a question
my service on windows system is working with 3333 port.
i tried to do netstat command and output is as follows.
10.50.1.147:3333 LISTENING

i don't kwon why did it.

ok, i want to start my service with 0.0.0.0:3333.
How to do it?

windows-api
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

XiaopoYang-MSFT avatar image
0 Votes"
XiaopoYang-MSFT answered XiaopoYang-MSFT commented

According to the answer, You need to bind your service IP to 0.0.0.0, Port to 3333.



· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello XiaopoYangShanghaiWicresoftCoLtd-3838

Thank you for answer.
How to bind ip or port? let me kwon please

0 Votes 0 ·

How do you bind the service Port to 3333? According to The Document Sample, It is needed to implement as Command-line Arguments by service Implementer.


0 Votes 0 ·
hotmailcombangu00-1467 avatar image
0 Votes"
hotmailcombangu00-1467 answered XiaopoYang-MSFT edited

Hello XiaopoYangShanghaiWicresoftCoLtd-3838
Thanks a lot.
I got it. I thought, it was enough to change the listen ip to 0.0.0.0 by using the command on the OS.
Finaly, application have to modify to change listen ip to 0.0.0.0. is this right?

· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

It is enough and better to change the listen ip to 0.0.0.0 by using the command on the OS.

0 Votes 0 ·

hello.
you mean that the listen ip can be changed by command of OS?

0 Votes 0 ·

No. I mean It is better to listen to ip 0.0.0.0 by using the command supplied by the Service. If not, Changing the Service Code to support Specifying where IP bind is a solution.

Regards

0 Votes 0 ·
hotmailcombangu00-1467 avatar image
0 Votes"
hotmailcombangu00-1467 answered

hello.
ok. your answer helped me

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.