---
title: "修改oracle占用的8080端口"
author: "ghost_away"
date: "2013-12-01T18:10:28Z"
tags: []
categories: ["数据库"]
slug: "oracle-8080"
draft: false
lastmod: "2013-12-01T18:10:28Z"
id: 1983484
url: "https://yfh.iteye.com/blog/1983484"
---

-- 把HTTP/WEBDAV端口从8080改到8081 　　SQL&gt; call dbms\_xdb.cfg\_update(updateXML(dbms\_xdb.cfg\_get(), 　　　2　'/xdbconfig/sysconfig/protocolconfig/httpconfig/http-port/text()',8081)) 　　　3　/ 　　 　　Call completed. 　　-- 把FTP端口从2100改到2111 　　SQL&gt;　call dbms\_xdb.cfg\_update(updateXML(dbms\_xdb.cfg\_get(), 　　　2　'/xdbconfig/sysconfig/protocolconfig/ftpconfig/ftp-port/text()',2111)) 　　　3　/ 　　 　　Call completed. 　　 　　SQL&gt; commit; 　　 　　Commit complete. 　　 　　SQL&gt;　exec dbms\_xdb.cfg\_refresh; 　　 　　PL/SQL procedure successfully completed. 　　-- 检查修改是否已经成功 　　SQL&gt; select dbms\_xdb.cfg\_get from dual; 　　 　　CFG\_GET 　　--------------------------------------------------------------------------------