Unit is not configured for communication on port 4000, TCP

Andreas Kvist 1 Reputation point
2021-07-14T07:49:03.51+00:00

Hello,

Im running a Threat Hunting lab as part of a IT security certification track. In the lab we run a simulator server based on python. This server/service runs on local host 4000 using port 4000, TCP.

This practice is used globally by the Cisco SEs but I can´t run it on my PC, Windows 10.

When trying to connect to https://localhost:4000/test i get Err_timed_out and when completing the network diagnostics the error message states

The device or resource (localhost) has not been configured to accept connections on port "4000".

OK, so, how do I change the configuration so that the PC will accept connection on port 4000, TCP?

The error is identified, but there is no guidance on how to change the configuration.

There is no proxy being used.

I´ve added the postman application to accepted applications to the FW
I´ve added the port 4000, TCP to the Windows firewall.

Still nothing.

The call from Postman to the service/server times out. Can´t reach the service.

Please advice

BR

Andreas

Windows 10 Network
Windows 10 Network
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Network: A group of devices that communicate either wirelessly or via a physical connection.
2,346 questions
{count} votes

3 answers

Sort by: Most helpful
  1. Sunny Qi 11,036 Reputation points Microsoft Vendor
    2021-07-15T03:32:05.367+00:00

    Hi,

    Thanks for your patience during my research. Based on provided information and consulting with our winapi support engineer, since the issue is also involve some third party applications and tools which we are not familiar with. We would suggest you could contact the third-party production supports for further troubleshooting.

    Meanwhile I would suggest you could run netstat -a in a CMD windows with admin privilege to check if the port 4000 was in listening status.

    Best Regards,
    Sunny

    ----------

    If the Answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  2. Andreas Kvist 1 Reputation point
    2021-07-15T19:52:21.72+00:00

    Here is the netstat -a output,

    115080-image.png

    115149-image.png

    The service is running on https://192.168.128.8:4000 but this adress is not in the list of active connections

    115128-image.png

    The service should be listed after the first address in the above snippet, ie after port 1415

    BR

    Andreas

    0 comments No comments

  3. Sunny Qi 11,036 Reputation points Microsoft Vendor
    2021-07-16T10:13:27.99+00:00

    Hi Andreas,

    Thanks for your update.

    Per provided screenshots, I noticed that the port 4000 is in listening status on local host, but it was not bind to the specific application you mentioned. Please kindly note that how to bind port 4000 to the specific service is beyond our forum support level. I would suggest you could contact the application development support for further troubleshooting. Appreciate your understanding.

    Best Regards,
    Sunny

    ----------

    If the Answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.