Mirage Source
Server Error - Printable Version

+- Mirage Source (https://mirage-engine.uk/forums)
+-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61)
+--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18)
+---- Forum: General (https://mirage-engine.uk/forums/forumdisplay.php?fid=17)
+---- Thread: Server Error (/showthread.php?tid=458)



Server Error - Cheeseweasel - 10-12-2006

I went to whatismyipaddress.com or whatever, and I got the following IP address: 84.67.223.140. I put it into the source, opened my game (Legends of Escentia) and tried to connect. I still got my error message saying it couldn't connect to the internet. This is what my Visual Basic file (ModConstants) says in the Winsock Globals area:

Code:
' Winsock globals
Public Const GAME_IP = "84.67.223.140"
Public Const GAME_PORT = "7000"

Is there a mistake in this? Have I done something wrong? If there's any other code you want me to post, just ask me. Please tell me if there's a mistake in this code.

BTW, I've opened 7000 in TCP under the name 'Escentia' in Windows Firewall. I've even tried with Windows Firewall off, but it still didn't work.

If there's a mistake, please tell me.

Thanks
Cheeseweasel


- Reece - 10-12-2006

If your just testing the server out change it to 127.0.0.1


Server - Cheeseweasel - 10-12-2006

No, I'm looking to host my server from my computer all the time. Not just to test the server.


- Dragoons Master - 10-12-2006

Probly you are on a shared network. To make sure, go to DOS in the server's computer and type "ipconfig /all"(w/ out quotes) and see it shows you the network IP or the LAN ones.


- Cheeseweasel - 10-12-2006

This is exactly what comes up. Please tell me if this is what should come up.

Thanks in advance
Cheese

Code:
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Kieran>ipconfig/all

Windows IP Configuration

        Host Name . . . . . . . . . . . . : alan-dcf9b00884
        Primary Dns Suffix  . . . . . . . :
        Node Type . . . . . . . . . . . . : Unknown
        IP Routing Enabled. . . . . . . . : Yes
        WINS Proxy Enabled. . . . . . . . : No

Ethernet adapter Local Area Connection:

        Media State . . . . . . . . . . . : Media disconnected
        Description . . . . . . . . . . . : Realtek RTL8139 Family PCI Fast Ethe
rnet NIC
        Physical Address. . . . . . . . . : 00-13-D3-B4-53-71

PPP adapter Speedtouch Connection:

        Connection-specific DNS Suffix  . :
        Description . . . . . . . . . . . : WAN (PPP/SLIP) Interface
        Physical Address. . . . . . . . . : 00-53-45-00-00-00
        Dhcp Enabled. . . . . . . . . . . : No
        IP Address. . . . . . . . . . . . : 84.67.223.140
        Subnet Mask . . . . . . . . . . . : 255.255.255.255
        Default Gateway . . . . . . . . . : 84.67.223.140
        DNS Servers . . . . . . . . . . . : 195.92.195.95
                                            195.92.195.94

C:\Documents and Settings\Kieran>



- Dragoons Master - 10-12-2006

It seams to be right. I'm just not sure about the 255.255.255.255(I think it should be 255.255.255.0).
Maybe you are connected thru a router, then you need to port forward 7000. I can't help you anymore right now, I'm going to do a test in less than 2 hours and I still need to lunch. I'll try to help you today night. TTYL


- Cheeseweasel - 10-12-2006

Thanks, Dragoons. Nice to see someone wants to help : D


- Cheeseweasel - 10-12-2006

[Image: tcpip.png]

There you go.

Thanks
Cheese[/img]


- Reece - 10-12-2006

look at the IP address in the picture, and the IP address you told it to use, change it and see if it works.


- Cheeseweasel - 10-12-2006

'Fraid it's not working.

Can any of you shed any light on what localhost is?


- Reece - 10-12-2006

localhost is 127.0.0.1

You need to port forward. google.co.uk > portforward