1492330 - Connect Error: Connect to Host XXXX Port XXXX error: NIECONN_REFUSED - Message no. 04100

1492330 - Connect Error: Connect to Host XXXX Port XXXX error: NIECONN_REFUSED - Message no. 04100

SAP Knowledge Base Article, Version: 8, Released On: 04.04.2023

Show Changes

DescriptionAttributesAvailable LanguagesRate this document

激活项目以转到页面中的部分

Symptom

Connect Error: Connect to Host XXXX Port XXXX error: NIECONN_REFUSED (Message No. 04100).

Environment

  • Basis release 6.20 or higher.
  • BC-SRV-KPR or BC-SRV-ARL.

Reproducing the Issue

  1. Run T-code SE38
  2. Excute program RSCMSTH0
  3. Input repository name e.g. A2
  4. Then run the program
  5. Connect Error: Connect to Host XXXX Port XXXX error: NIECONN_REFUSED occured
  6. Or in T-code OAC0
  7. Double click the repository name e.g. A2
  8. Goto menu Enviroment -> CSAdmin
  9. The host name is wrong or the port refers to a wrong one,  e.g. 80 instead of 8000

Cause

  • In most cases the cause is the connection does not work.
  • In particular case, wrong host name or port, etc. were maintained in the table HTTPURLLOC when you have configured the repository in OAC0 for access using HTTP or HTTPS protocol. And also have an entry in table HTTPURLLOC for exception Host and port for HTTP or HTTPS protocol.

Resolution

  1. Regarding general NIECONN_REFUSED errors please check if the hostname can be resolved on your frontend machine with a "niping test" as per SAP note 500235:
    niping -v -H <hostname>
    The same test has to be done with the short hostname of the other application server.

  2. If you have configured the repository in OAC0 for access using HTTP or HTTPS protocol. And also have an entry in table HTTPURLLOC for exception Host and port for HTTP or HTTPS protocol.
    - Call T-code SE16.
    - Check if the table HTTPURLLOC is empty, or if the host name and port number etc. are maintained correctly in the table HTTPURLLOC.
    - If it's not correct then customize the table HTTPURLLOC.
      Please look in the URL link Configuration Table HTTPURLLOC and find out how to fill it.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

SAP 的寒

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值