Connection forcefully closed by remote host in outsystems during deployment to UAT

Hi All,

I have verified multiple times, checked all servers and services are up and running fine in UAT but still,

I am getting below error:

while deploying application to UAT environment:

"2020-06-02 01:00:47 An existing connection was forcibly closed by the remote host'

"Error during external Solution publish: No connection could be made because the target machine actively refused it XX.X.X.XX:1XXX0"

Please find the log below

MessageServer was unable to process request. ---> No connection could be made because the target machine actively refused it XX.X.X.XX:120XX0Environment InformationeSpaceVer: Id=24, PubId=0, CompiledWith=11.7.3.7036RequestUrl: http://lXXX/lifetime/Staging_Progress.aspx?_ts=1591039836997 (Method: POST)AppDomain: /LM/W3SVC/1/ROOT/lifetime-1-132355092606395590FilePath: D:\...\PS\running\lifetime.1488100185\Staging_Progress.aspxClientIp: ::1Locale: en-USDateFormat: yyyy-MM-ddPID: 6688 ('w3wp', Started='01-06-2020 18:21:00', Priv=1220Mb, Virt=2111167Mb)TID: 86Thread Name: .NET: 4.0.30319.42000StackServer was unable to process request. ---> No connection could be made because the target machine actively refused it 10.1.5.41:12000   at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)   at ssLifeTimeCore.WRefPlatformServices_v8_0_0.WRefPlatformServices_v8_0_0.SolutionPack_GetPublishMessages(String inWSUserName, Boolean inWSUserNameSpecified, String inWSPassword, Boolean inWSPasswordSpecified, Int32 inWSPublishId, Int32 inWSAfterMessageId, WORCCS_PublicationMessageRecord[]& outWSMessages, Nullable`1& outWSLastMessageId, Nullable`1& outWSFinished)


Please help me on this


Thanks,

Dileep Verma



Hi Dileep, 


If this is onprem, did you check the firewall rules in the network (if any) and the target server?


Regards,

   Frederico

Hi Dileep,


Within the platform server open cmd and try performing a telnet to localhost for the port 12000. Also as Federico mentioned above check the firewall rules. Further to this you can try restarting the Outsystems specific services. If the issue is still not resolved try restarting the IIS server.


Hope this helps.


Regards,

Jitul Joy