[英]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:
如果是这样,您可以执行以下操作:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.