![](./templates/Morpheus/images/spacer.gif) |
![](./templates/Morpheus/images/blue/hdr_left_post.gif) | What's my computer IP? | ![](./templates/Morpheus/images/blue/hdr_right_blue.gif) |
Joined: 06 Mar 2005 |
Posts: 5 |
|
|
![](./templates/Morpheus/images/spacer.gif) |
Posted: Sat Mar 05, 2005 7:22 pm |
|
![](./templates/Morpheus/images/posttop_left.gif) |
![Reply with quote Reply with quote](templates/Morpheus/images/lang_english/blue/icon_quote.gif) |
![](./templates/Morpheus/images/spacer.gif) |
![](./templates/Morpheus/images/spacer.gif) |
Sorry, I realise this is probably a stupid question, but I'm trying to follow the instructions in 'Troubleshooting' for what to do if the debugger won't start. The instruction
Quote: |
Open console on the server and run
telnet computerIP 7869
where computerIP is an IP address of your client computer. |
has stumped me because I have no idea what my computer IP is or how to find it out. I've got Windows XP (home edition), and I'm running Apache/1.3.33 (Win32) with PHP version :5.0.3. I think I've correctly followed all the configuration instructions in 'Help' thus far .
How do I find out what my IP is?
|
|
![](./templates/Morpheus/images/ftr_right.gif) |
![](./templates/Morpheus/images/blue/hdr_left_post.gif) | | ![](./templates/Morpheus/images/blue/hdr_right_blue.gif) |
![](./templates/Morpheus/images/ftr_right.gif) |
![](./templates/Morpheus/images/blue/hdr_left_post.gif) | | ![](./templates/Morpheus/images/blue/hdr_right_blue.gif) |
Joined: 06 Mar 2005 |
Posts: 5 |
|
|
![](./templates/Morpheus/images/spacer.gif) |
Posted: Sun Mar 06, 2005 11:57 am |
|
![](./templates/Morpheus/images/posttop_left.gif) |
![Reply with quote Reply with quote](templates/Morpheus/images/lang_english/blue/icon_quote.gif) |
![](./templates/Morpheus/images/spacer.gif) |
![](./templates/Morpheus/images/spacer.gif) |
Thanks. I've run ipconfig /all and, unfortunately, it doesn't give me the same IP Address as phpinfo() gives me for my REMOTE_ADDR. The REMOTE_ADDR is, as I expected, Apache's default one of 127.0.0.1. I don't know where the one telnet has found comes from.
Anyway, the two aren't the same and telnet won't connect to either. Using the computerIP given by the telnet command I get 'client connected...wrong client, disconnecting' in the listener log. Using 127.0.0.1 gives me an error of
'Failed to create client thread, disconnecting'. Neither of these mean very much to me, I'm afraid, and I don't know what significance, if any, there is in the difference.
From what you say, though, I'll need to ' to use ssh tunelling or maybe establish NAT port forwarding in your IP router.'. Where do I look for instructions on how to do this?
|
|
![](./templates/Morpheus/images/ftr_right.gif) |
![](./templates/Morpheus/images/blue/hdr_left_post.gif) | | ![](./templates/Morpheus/images/blue/hdr_right_blue.gif) |
Site Admin
Joined: 13 Jul 2003 |
Posts: 8351 |
|
|
![](./templates/Morpheus/images/spacer.gif) |
Posted: Mon Mar 07, 2005 12:57 pm |
|
![](./templates/Morpheus/images/posttop_left.gif) |
![Reply with quote Reply with quote](templates/Morpheus/images/lang_english/blue/icon_quote.gif) |
![](./templates/Morpheus/images/spacer.gif) |
![](./templates/Morpheus/images/spacer.gif) |
Quote: | The REMOTE_ADDR is, as I expected, Apache's default one of 127.0.0.1. I don't know where the one telnet has found comes from. |
Actually, if you checked with local Apache, it makes no sense.
You have to check with the one you're going to debug with.
Quote: | Anyway, the two aren't the same and telnet won't connect to either. Using the computerIP given by the telnet command I get 'client connected...wrong client, disconnecting' in the listener log. Using 127.0.0.1 gives me an error of
'Failed to create client thread, disconnecting'. Neither of these mean very much to me, I'm afraid, and I don't know what significance, if any, there is in the difference. |
Let's start from the beginning. Do you have a remote server or a local one? In first case, you may want to check connection by runnign telnet on the server. In latter case, it's not needed and everything will work anyway.
|
|
![](./templates/Morpheus/images/ftr_right.gif) |
![](./templates/Morpheus/images/blue/hdr_left_post.gif) | | ![](./templates/Morpheus/images/blue/hdr_right_blue.gif) |
Site Admin
Joined: 13 Jul 2003 |
Posts: 8351 |
|
|
![](./templates/Morpheus/images/spacer.gif) |
Posted: Mon Mar 07, 2005 1:11 pm |
|
![](./templates/Morpheus/images/posttop_left.gif) |
![Reply with quote Reply with quote](templates/Morpheus/images/lang_english/blue/icon_quote.gif) |
![](./templates/Morpheus/images/spacer.gif) |
![](./templates/Morpheus/images/spacer.gif) |
in this case you don't need to check if connection is possible...
Just install debugger module:
http://forum.nusphere.com/howto-install-debugger-module-t576.html
Create a project in the IDE:
http://forum.nusphere.com/howto-setup-project-properties-in-phped-t645.html
and debug your scripts ![Smile](images/smiles/icon_smile.gif)
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
All times are GMT - 5 Hours
Page 1 of 1
|
|
|
| ![](./templates/Morpheus/images/spacer.gif) |