question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Server not starting.

See original GitHub issue

Upon starting basic project I am unable to connect to the started server. (see code below) When scanning my open ports, it is not listed (see screenshot attached), although if I start a TcpListener as shown in the code (commented) it does. I also tested with your given examples to no avail.

` static void Main(string[] args) { // TcpListener s = new TcpListener(63534); // s.Start(); server = new SimpleTcpServer(“127.0.0.1”, 63534);

    server.Events.ClientConnected += Server_ClientConnected;
    server.Events.DataReceived += Server_DataRecieved;
    server.Events.ClientDisconnected += Server_ClientDisconnected;
    server.Logger += Logger;

    Start();
    Console.WriteLine(server.IsListening);
    Console.ReadLine();
}`
Screen Shot 2020-12-17 at 10 51 52 PM

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:11 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
BarrettTorqueEmcommented, Dec 20, 2020

Thank you very much for all your help Im mearly using this package to test my understanding of Client/server programing. Im not using it in any PROD instance. Have a good one. -Mike

0reactions
jchristncommented, Dec 25, 2020

Thanks again @BarrettTorqueEm just a heads-up I disabled TCP keepalives by default in v2.2.1, which I just pushed/commited. Cheers

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting a Server that does not start (No Power ...
If the operating system does not start for any reason, this is called a No Boot issue. A common symptom is also that...
Read more >
My Server won't boot. What do I do? - Support Center
Operating System Check - Try booting into Safe Mode by using the F8 key on the keyboard so that Windows is able to...
Read more >
Unable to Start the Server Service
When you attempt to start the Server service from a command prompt, you may receive the following error message: System error 1058 has...
Read more >
[SOLVED] Help! Server won't start...
My Dell PowerEdge R310 will not start. I was applying Microsoft updates through a RDC like I always do. The virtual machines updated...
Read more >
Why Won't My Minecraft Server Start?
Your server not starting can be the result of a number of causes, in most cases, it can be resolved or at least...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found