SAP Knowledge Base Article - Preview

1868308 - Could not establish connection to AS Java on [P4://<hostname>:<port>] causes deployment error


You are not able to execute a deployment due the following error(s), even though the AS Java is up and running:

" Could not establish connection to AS Java on [P4://<hostname>:<port>]. Cannot establish connection with any of the available instances:..."
" . Check if the host and port specified are correct and AS Java is up and running..."

This error can occur with any kind of deployment tool which uses the deploy API (dpl_api). E.g. JSPM, SDM, SUM.



  • SAP NetWeaver Application Server Java all versions
  • Upgrade from AS Java 7.0X to 7.1X or higher systems with Software Update Manager (SUM)


SAP NetWeaver Application Server for Java all versions


rmi_p4.P4IOException, Cannot open connection to host, Check if server is started, access point for the protocol is available, and IP/Host name is accessible on network, DEPLOY-ONLINE-DB, DEPLOY-SHADOW-INSTANCE , KBA , BC-JAS-DPL , Deployment , BC-UPG-TLS-TLJ , Upgrade tools for Java , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.