Skip to main content

Notifications

Announcements

No record found.

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,255

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.

  • 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.
     
  • 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?

  • w.sallam Profile Picture
    2,255 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, '

  • 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)

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,884 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,748 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Product updates

Dynamics 365 release plans