Raised This Month: $ Target: $400
 0% 

My server has multiple IPv4


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Kaleb
New Member
Join Date: Jan 2019
Old 01-22-2019 , 07:06   My server has multiple IPv4
Reply With Quote #1

Hello,

i made a server with hlds. On hlds i see this ip address: "169.254.xxx.1:27016". I can connect to it from my pc. However if click view server info, it will show me a different id address: "169.254.xxx.145:27016". And when i try to connect from my other pc (tried both address), it cant find the server. Then i looked up my pc (one that runs server) ip in cmd and i found this "192.168.1.xxx". I can connect to this address. Why is it like that? Bonus info: If i make a server the same way on the other computer, all 3 ip address will be the same.

Thanks!
Attached Images
File Type: jpg Server.jpg (64.0 KB, 84 views)
File Type: jpg server2.jpg (75.0 KB, 74 views)
Kaleb is offline
DeteCT0R
Member
Join Date: Jun 2012
Location: My Home
Old 01-22-2019 , 09:35   Re: My server has multiple IPv4
Reply With Quote #2

Most of the ip u see that local IP and nobody cant connect.

U can check you ip adress in https://www.whatismyip.com/ website.

Maybe need some port forwarding also i think.
__________________
My steam:
DeteCT0R is offline
Kaleb
New Member
Join Date: Jan 2019
Old 01-22-2019 , 09:50   Re: My server has multiple IPv4
Reply With Quote #3

Okay now i see my local and public ip is different. But how could i join to the server over the internet if i tried to connect to my local ip?
Kaleb is offline
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 01-22-2019 , 14:35   Re: My server has multiple IPv4
Reply With Quote #4

Check hlds command line options, you might be starting server with wrong ip/port.
__________________




CrazY. is offline
gabuch2
AlliedModders Donor
Join Date: Mar 2011
Location: Chile
Old 01-23-2019 , 21:13   Re: My server has multiple IPv4
Reply With Quote #5

Use the ip cvar to define which interface will use your server.
__________________
gabuch2 is offline
bad_boy
Member
Join Date: Oct 2018
Old 01-24-2019 , 22:50   Re: My server has multiple IPv4
Reply With Quote #6

You need to forward your ports.
bad_boy is offline
mi0epro
New Member
Join Date: Dec 2018
Old 01-29-2019 , 14:49   Re: My server has multiple IPv4
Reply With Quote #7

Quote:
Originally Posted by Kaleb View Post
Okay now i see my local and public ip is different. But how could i join to the server over the internet if i tried to connect to my local ip?
Cause you've been connected to one network. The local ip is the ip that your router is working with so you can connect to it if the other PC is linked to the same router. With one word you haven't joined over the internet.

Last edited by mi0epro; 01-29-2019 at 14:50.
mi0epro is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:12.


Powered by vBulletin®
Copyright ©2000 - 2023, vBulletin Solutions, Inc.
Theme made by Freecode