web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

No connection could be made because the target machine actively refused it

(0) ShareShare
ReportReport
Posted on by 2,259

Hello All

there is an issue when trying to print any report.

an error message shows : 

No connection could be made because the target machine actively refused it 192.168.1.98:8201

it didn't come before as everything was working fine,

is is a test environment so the report server is in the same machine.

there's no error comes to the event viewer, and the firewall is off.

one more thing, the server's IP address was changed. I don't know if this could cause any issue.

I have the same question (0)
  • kvnkk Profile Picture
    800 on at
    RE: No connection could be made because the target machine actively refused it

    we used to get this issue and below is the procedure we used follow to solve the issue :-

    1. Full CIL

    2. Registering the services SRSFrameworkService,SSASFrameworkService

    3. Deploying BIServices

    4. De-active and active the BIServices(Admin->>setup -->> Inbound ports)

  • w.sallam Profile Picture
    2,259 on at
    RE: No connection could be made because the target machine actively refused it

    thanks kvnkk for reply.

    I tried everything you suggested but still have the same issue, '

  • ToddB Profile Picture
    on at
    RE: No connection could be made because the target machine actively refused it

    Hi w.sallam,

    Do you get any errors when you try and run the report from the SSRS reports site itself?

  • nickmanny Profile Picture
    136 on at
    No connection could be made because the target machine actively refused it
    Often, connectivity issues arise when something is hindering access to a specific port or hostname. This obstruction can be due to a firewall blocking the connection or the service-hosting process not listening on the designated port. This could result from the service not running, or it might be listening on an alternative port. Consequently, establishing a connection becomes impossible.
     
    To diagnose the problem, you can try running the netstat -anb command from the command line to check if anything is listening on the intended port. If it returns no results, consider changing the port number. In Windows operating systems, you can use the netstat command via the command line (cmd.exe), while on Linux, you may need to use netstat -anp.
     
    Occasionally, when the target machine 'actively refuses' the connection, it could be because the server's 'backlog' is full. In such cases, you might consider increasing the server's backlog, but it's also essential to implement retry logic in your client code to handle this situation. This is necessary because even with an extended backlog, the server could be handling numerous other requests on the same port at that time.
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 2,122

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 918 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 646 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans