線上訂房服務-台灣趴趴狗聯合訂房中心
發文 回覆 瀏覽次數:3159
推到 Plurk!
推到 Facebook!

intraweb ip 跟 PORT 設定問題

 
willishung
一般會員


發表:5
回覆:5
積分:2
註冊:2006-08-01

發送簡訊給我
#1 引用回覆 回覆 發表時間:2007-03-07 16:52:09 IP:211.20.xxx.xxx 訂閱
使用BSD2006 的C++ BUILDER 開發一個intraweb專案,之前在網站上有找到變更的DELPHI語法
<textarea class="delphi" rows="10" cols="60" name="code">procedure TIWServerController.IWServerControllerBaseCreate(Sender: TObject); begin boundip :='192.168.1.171'; port := 1234 end; </textarea>
就可以變更成功,我使用 DELPHI 去編輯發現這是可以的且運作正常http://192.168.1.171:1234 可以連到網頁。不過當我使用C BUILDER 使用卻發現BoundIP 有改成 192.168.1.171 可是port 卻還是系統亂數給的PORT,並且網頁也無法連結
<textarea class="cpp" rows="10" cols="60" name="code">void __fastcall TIWServerController::IWServerControllerBaseCreate( TObject *Sender) { BoundIP="192.168.1.171" Port=1234; } </textarea>
,假設系統亂數給一個PORT 2312,手動KEYIN http://192.168.1.171:2312 也無法連結網頁。
請問各位大大,這是BCB 的BUG嗎?一樣的東西在DELPHI 跟在 C BUILDER 結果卻不一樣。
還是有其他的解決問題。
開發工具:BSD2006 更新至 UPDATE1

Fishman
尊榮會員


發表:120
回覆:1949
積分:2163
註冊:2006-10-28

發送簡訊給我
#2 引用回覆 回覆 發表時間:2007-03-08 08:28:11 IP:59.124.xxx.xxx 未訂閱
You must install the license key.

http://www.atozed.com/IntraWeb/FAQ/Usage.en.aspx

Why does the port that the application runs on keep changing? The evaluation version of IntraWeb picks the port at random. When the product is purchased, fixed port numbers can be specified in the Server Controller.




Fishman

------
Fishman
willishung
一般會員


發表:5
回覆:5
積分:2
註冊:2006-08-01

發送簡訊給我
#3 引用回覆 回覆 發表時間:2007-03-08 09:50:54 IP:211.20.xxx.xxx 訂閱
  謝謝大大回覆,不過為何BDS2006 DELPHI IntraWeb 專案可以改變IP 跟 PORT
===================引 用 文 章===================
You must install the license key.

http://www.atozed.com/IntraWeb/FAQ/Usage.en.aspx

Why does the port that the application runs on keep changing? The evaluation version of IntraWeb picks the port at random. When the product is purchased, fixed port numbers can be specified in the Server Controller.




Fishman

系統時間:2024-04-26 12:55:29
聯絡我們 | Delphi K.Top討論版
本站聲明
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。
2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。
3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇!