简体   繁体   English

如何在Jdeveloper中将域名从“ LocalHost”更改为ipaddress?

[英]How to change domain name from “LocalHost” to ipaddress in Jdeveloper?

When i run any application from JDeveloper, the page opening with the URL keeping " LocalHost " as a domain name, eg: http:// localhost :7101/Testing/faces/index.jsf 当我从JDeveloper运行任何应用程序时,打开的页面的URL保留域名“ LocalHost ”,例如:http:// localhost :7101 / Testing / faces / index.jsf

How can i change the domain name from "localHost" to my system's ipaddress. 如何将域名从“ localHost”更改为系统的ipaddress。 So that whenever i execute the page, the page should open with the ipaddress and not with "localhost", like http:// 10.34.65.175 :7101/Testing/faces/index.jsf 这样,每当我执行该页面时,该页面都应该使用ipaddress而不是“ localhost”打开,例如http:// 10.34.65.175:7101 / Testing / faces / index.jsf

Thanks 谢谢

Deploy your application on the WLS that is located on 10.34.65.175 . 10.34.65.175上的WLS上部署应用程序。 Any reason you don't want to use localhost? 您是否不想使用localhost的任何原因?

As Sydney asked, why would you want this? 正如悉尼所问,为什么要这样? The only reason I could think of is that you want other users (within the same network as you) to access your WLS. 我能想到的唯一原因是,您希望其他用户(与您位于同一网络内)访问您的WLS。 If so you can do the following: 如果是这样,您可以执行以下操作:

  • Go to your admin console (htpp://localhost:7101/console) 转到管理控制台(htpp:// localhost:7101 /控制台)
  • Click on 'Environment' 点击“环境”
  • Click on 'Servers' 点击“服务器”
  • Click on 'DefaultServer(admin)' 点击“ DefaultServer(admin)”
  • In 'Listen Address' enter your local IP 在“收听地址”中输入您的本地IP
  • Reboot your WLS and it should be accessible by other users on http:// your_local_ip:7101/Testing/faces/index.jsf 重新启动您的WLS,其他用户应该可以通过以下网址访问它:http:// your_local_ip:7101 / Testing / faces / index.jsf

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何以jdeveloper形式从服务器上传图像? - how to upload images from server in jdeveloper forms? 将应用程序从jdeveloper 11.1.1.5.0迁移到jdeveloper 11.1.2.4.0时发生异常 - Exception on migrating application from jdeveloper 11.1.1.5.0 to jdeveloper 11.1.2.4.0 更改PC和主机名(PC名称)的域后,Oracle SQL在localhost上不起作用 - Oracle SQL not working on localhost after changing domain of PC and host name (PC name) 从JDeveloper 11.1.2.4迁移我的应用程序后,JDeveloper 12c出现导航错误 - JDeveloper 12c getting navigation error after migration my Apps from JDeveloper 11.1.2.4 从 Oracle Jdeveloper 12c 迁移到 Jdeveloper 11gr2 - Migrate From Oracle Jdeveloper 12c to Jdeveloper 11gr2 从域名中提取 TLD 并根据 TLD 对它们进行分组 - Extract TLD from a domain name and group them based on TLD 如何在调试模式下为 BPEL 11g 启动 JDeveloper。 这是可能的? - How I can start JDeveloper for BPEL 11g in debug mode. It´s possible? 在JDeveloper中使用Web服务代理类时如何防止&lt;转换为&lt; - How to prevent < converted to &lt; when using web service proxy class in JDeveloper 您如何在Jdeveloper 11g中运行Spring 2.5.6示例应用程序? - How do you run Spring 2.5.6 sample apps in Jdeveloper 11g? Jdeveloper查询表单 - Jdeveloper query form
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM